xref: /llvm-project/llvm/test/DebugInfo/Symbolize/ELF/symtab-ignored.s (revision 04a2e12612f49e65a7dc14fa45f11f0632d427f2)
1# REQUIRES: x86-registered-target
2## Ignore STT_SECTION and STT_TLS symbols for .symtab symbolization.
3# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t
4# RUN: llvm-symbolizer --obj=%t 0 | FileCheck %s
5
6# CHECK:       b
7# CHECK-NEXT:  1.c:0:0
8# CHECK-EMPTY:
9
10.file "1.c"
11
12.section a,"a",@progbits
13b:
14  .reloc ., R_X86_64_NONE, a
15.section c,"a",@progbits
16  .reloc ., R_X86_64_NONE, c
17
18.section .tbss,"awT",@nobits
19.globl tls
20tls:
21