23 lines · plain
1# REQUIRES: arm2## Test we resolve relocations referencing TLS symbols in .debug_* sections to3## a tombstone value if the referenced TLS symbol is discarded.4 5# RUN: llvm-mc -filetype=obj -triple=armv7a-none-linux-gnueabi %s -o %t.o6# RUN: ld.lld --gc-sections %t.o -o %t7# RUN: llvm-objdump -s %t | FileCheck %s8 9# CHECK: Contents of section .debug_info:10# CHECK-NEXT: 0000 0000000011 12.globl _start13_start:14 bx lr15 16.section .tbss,"awT",%nobits17.globl tls18 .long 019 20.section .debug_info21## R_ARM_TLS_LDO3222 .long tls(tlsldo)23