Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / MachO / no-unneeded-dyld-info.s
blobcf92adf9455f995f0ef40bd51b6903c0b598846d
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t.o
3 # RUN: %lld -dylib -o %t %t.o
4 # RUN: llvm-objdump --macho --all-headers %t | FileCheck %s
6 # CHECK: cmd LC_DYLD_INFO_ONLY
7 # CHECK-NEXT: cmdsize 48
8 # CHECK-NEXT: rebase_off 0
9 # CHECK-NEXT: rebase_size 0
10 # CHECK-NEXT: bind_off 0
11 # CHECK-NEXT: bind_size 0
12 # CHECK-NEXT: weak_bind_off 0
13 # CHECK-NEXT: weak_bind_size 0
14 # CHECK-NEXT: lazy_bind_off 0
15 # CHECK-NEXT: lazy_bind_size 0
16 # CHECK-NEXT: export_off 0
17 # CHECK-NEXT: export_size 0
19 _not_exported:
20 .space 1