xref: /llvm-project/llvm/test/DebugInfo/Symbolize/ELF/symtab-file-conflict.s (revision 04a2e12612f49e65a7dc14fa45f11f0632d427f2)
1# REQUIRES: x86-registered-target
2## If the filename from the preceding STT_FILE does not match .debug_line,
3## STT_FILE wins. Compilers should not emit such bogus information.
4# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t
5# RUN: llvm-symbolizer --obj=%t 0 | FileCheck %s
6
7# CHECK:       foo
8# CHECK-NEXT:  1.c:0:0
9
10.file "1.c"
11.file 0 "/tmp" "0.c"
12foo:
13  .loc 0 1 0
14  nop
15