Files
clang-p2996/lld/test/ELF/Inputs/undef-debug.s
George Rimar 92c88a4f76 [ELF] - Print absolute file name in errors when possible.
Currently LLD prints basename of source file name in error messages,
for example:
$ mkdir foo
$ echo 'void _start(void) { foobar(); }' > foo/bar.c
$ gcc -g -c foo/bar.c
$ bin/ld.lld -o out bar.o 
bin/ld.lld: error: bar.c:1: undefined symbol 'foobar'
$
This should say:
bin/ld.lld: error: foo/bar.c:1: undefined symbol 'foobar'

This is PR31299

Differential revision: https://reviews.llvm.org/D27506

llvm-svn: 288966
2016-12-07 19:42:25 +00:00

12 lines
159 B
ArmAsm

.file 1 "dir/undef-debug.s"
.loc 1 3
.quad zed3
.section .text.1,"ax"
.loc 1 7
.quad zed4
.section .text.2,"ax"
.loc 1 11
.quad zed5