aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/DebugInfo/Symbolize/ELF/symtab-file-conflict.s
blob: 280175dcf7535446118e75a0a532cd7026aae6a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# REQUIRES: x86-registered-target
## If the filename from the preceding STT_FILE does not match .debug_line,
## STT_FILE wins. Compilers should not emit such bogus information.
# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t
# RUN: llvm-symbolizer --obj=%t 0 | FileCheck %s

# CHECK:       foo
# CHECK-NEXT:  1.c:0:0

.file "1.c"
.file 0 "/tmp" "0.c"
foo:
  .loc 0 1 0
  nop