Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / defsym-dynamic.s
blobf69e835af34c26fd854a5dd75b770f4795ad7ab9
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
3 # RUN: ld.lld -o %t.so -shared %t.o --defsym=foo2=foo1
4 # RUN: llvm-readobj --dyn-symbols %t.so | FileCheck %s
6 # CHECK: Name: foo1
7 # CHECK: Name: foo2
9 .globl foo1
10 foo1 = 0x123