[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / common-gc2.s
blob1ecaef7d9af5aa600e49d6f2f3c645c5bf6a6d3a
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o
3 # RUN: llvm-mc -filetype=obj -triple=x86_64 /dev/null -o %t2.o
4 # RUN: ld.lld -shared -soname=t2 %t2.o -o %t2.so
5 # RUN: ld.lld -gc-sections -export-dynamic %t.o %t2.so -o %t
6 # RUN: llvm-readobj --dyn-symbols %t | FileCheck %s
8 # CHECK: Name: bar
9 # CHECK: Name: foo
11 .comm bar,4,4
12 .comm foo,4,4
14 .text
15 .globl _start
16 _start:
17 .quad foo