[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / debug-dead-reloc-tls-arm.s
blob3fad5306faccba2d481d5400d6ae6ff0d74a50a2
1 # REQUIRES: arm
2 ## Test we resolve relocations referencing TLS symbols in .debug_* sections to
3 ## a tombstone value if the referenced TLS symbol is discarded.
5 # RUN: llvm-mc -filetype=obj -triple=armv7a-none-linux-gnueabi %s -o %t.o
6 # RUN: ld.lld --gc-sections %t.o -o %t
7 # RUN: llvm-objdump -s %t | FileCheck %s
9 # CHECK: Contents of section .debug_info:
10 # CHECK-NEXT: 0000 00000000
12 .globl _start
13 _start:
14 bx lr
16 .section .tbss,"awT",%nobits
17 .globl tls
18 .long 0
20 .section .debug_info
21 ## R_ARM_TLS_LDO32
22 .long tls(tlsldo)