1 # RUN: llvm-nm %p/Inputs/Strip-ST.dylib.macho-x86_64 | FileCheck --check-prefix=DEFAULT %s
2 # RUN: llvm-nm --no-dyldinfo %p/Inputs/Strip-ST.dylib.macho-x86_64 | FileCheck --check-prefix=NO-DYLDINFO %s
3 # RUN: llvm-nm --dyldinfo-only %p/Inputs/Strip-ST.dylib.macho-x86_64 | FileCheck --check-prefix=DYLDINFO-ONLY %s
4 # RUN: llvm-nm %p/Inputs/Strip-N.hello.exe.macho-x86_64 | FileCheck --check-prefix=FUNC-STARTS %s
5 # RUN: llvm-nm %p/Inputs/Strip-N.LC_MAIN.exe.macho-x86_64 | FileCheck --check-prefix=LC-MAIN %s
7 # DEFAULT: 0000000000000f90 T __Bob_is_slow
8 # DEFAULT: 0000000000001008 D __T0ims_data
9 # DEFAULT: 0000000000000f80 T __T0om_is_not_swift
10 # DEFAULT: U dyld_stub_binder
12 # NO-DYLDINFO: 0000000000000f90 T __Bob_is_slow
13 # NO-DYLDINFO-NOT: __T0ims_data
14 # NO-DYLDINFO-NOT: __T0om_is_not_swift
15 # NO-DYLDINFO: U dyld_stub_binder
17 # DYLDINFO-ONLY: 0000000000000f90 T __Bob_is_slow
18 # DYLDINFO-ONLY: 0000000000001008 D __T0ims_data
19 # DYLDINFO-ONLY: 0000000000000f80 T __T0om_is_not_swift
20 # DYLDINFO-ONLY-NOT: U dyld_stub_binder
22 # FUNC-STARTS: 0000000100000f70 t <redacted function 1>
23 # FUNC-STARTS: 0000000100000f80 t <redacted function 2>
24 # FUNC-STARTS: 0000000100000000 T __mh_execute_header
25 # FUNC-STARTS: 0000000100000f30 T _main
26 # FUNC-STARTS: U _printf
27 # FUNC-STARTS: U dyld_stub_binder
29 # LC-MAIN: 0000000100000f50 t <redacted LC_MAIN>
30 # LC-MAIN: 0000000100000000 T __mh_execute_header
32 # LC-MAIN: U dyld_stub_binder