1 RUN: dsymutil -s %p/Inputs/fat-test.dylib | FileCheck -check-prefixes=ALL,I386 %s
2 RUN: dsymutil -arch i386 -s %p/Inputs/fat-test.dylib | FileCheck -check-prefixes=I386,ONE %s
4 RUN: dsymutil --linker parallel -s %p/Inputs/fat-test.dylib | FileCheck -check-prefixes=ALL,I386 %s
5 RUN: dsymutil --linker parallel -arch i386 -s %p/Inputs/fat-test.dylib | FileCheck -check-prefixes=I386,ONE %s
8 ALL: ----------------------------------------------------------------------
9 ALL-NEXT: Symbol table for: '{{.*}}fat-test.dylib' (x86_64)
10 ALL-NEXT: ----------------------------------------------------------------------
11 ALL-NEXT: Index n_strx n_type n_sect n_desc n_value
12 ALL-NEXT: ======== -------- ------------------ ------ ------ ----------------
13 ALL-NEXT: [ 0] 00000002 64 (N_SO ) 00 0000 0000000000000000 '/Inputs/'
14 ALL-NEXT: [ 1] 0000000b 64 (N_SO ) 00 0000 0000000000000000 'fat-test.c'
15 ALL-NEXT: [ 2] 00000016 66 (N_OSO ) 03 0001 0000000055b1d0b9 '/Inputs/fat-test.o'
16 ALL-NEXT: [ 3] 00000029 20 (N_GSYM ) 00 0000 0000000000000000 '_x86_64_var'
17 ALL-NEXT: [ 4] 00000001 64 (N_SO ) 01 0000 0000000000000000
18 ALL-NEXT: [ 5] 00000035 0f ( SECT EXT) 02 0000 0000000000001000 '_x86_64_var'
19 ALL-NEXT: [ 6] 00000041 01 ( UNDF EXT) 00 0100 0000000000000000 'dyld_stub_binder'
21 I386: ----------------------------------------------------------------------
22 I386-NEXT: Symbol table for: '{{.*}}fat-test.dylib' (i386)
23 I386-NEXT: ----------------------------------------------------------------------
24 I386-NEXT: Index n_strx n_type n_sect n_desc n_value
25 I386-NEXT: ======== -------- ------------------ ------ ------ ----------------
26 I386-NEXT: [ 0] 00000002 64 (N_SO ) 00 0000 0000000000000000 '/Inputs/'
27 I386-NEXT: [ 1] 0000000b 64 (N_SO ) 00 0000 0000000000000000 'fat-test.c'
28 I386-NEXT: [ 2] 00000016 66 (N_OSO ) 03 0001 0000000055b1d0b9 '/Inputs/fat-test.o'
29 I386-NEXT: [ 3] 00000029 20 (N_GSYM ) 00 0000 0000000000000000 '_i386_var'
30 I386-NEXT: [ 4] 00000001 64 (N_SO ) 01 0000 0000000000000000
31 I386-NEXT: [ 5] 00000033 0f ( SECT EXT) 02 0000 0000000000001000 '_i386_var'
32 I386-NEXT: [ 6] 0000003d 01 ( UNDF EXT) 00 0100 0000000000000000 'dyld_stub_binder'
36 ALL: ----------------------------------------------------------------------
37 ALL-NEXT: Symbol table for: '{{.*}}fat-test.dylib' (x86_64h)
38 ALL-NEXT: ----------------------------------------------------------------------
39 ALL-NEXT: Index n_strx n_type n_sect n_desc n_value
40 ALL-NEXT: ======== -------- ------------------ ------ ------ ----------------
41 ALL-NEXT: [ 0] 00000002 64 (N_SO ) 00 0000 0000000000000000 '/Inputs/'
42 ALL-NEXT: [ 1] 0000000b 64 (N_SO ) 00 0000 0000000000000000 'fat-test.c'
43 ALL-NEXT: [ 2] 00000016 66 (N_OSO ) 08 0001 0000000055b1d0b9 '/Inputs/fat-test.o'
44 ALL-NEXT: [ 3] 00000029 20 (N_GSYM ) 00 0000 0000000000000000 '_x86_64h_var'
45 ALL-NEXT: [ 4] 00000001 64 (N_SO ) 01 0000 0000000000000000
46 ALL-NEXT: [ 5] 00000036 0f ( SECT EXT) 02 0000 0000000000001000 '_x86_64h_var'
47 ALL-NEXT: [ 6] 00000043 01 ( UNDF EXT) 00 0100 0000000000000000 'dyld_stub_binder'