[PATCH] D26901: Change the way how we print out line numbers.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 20 15:44:00 PST 2016
ruiu created this revision.
ruiu added a reviewer: evgeny777.
ruiu added a subscriber: llvm-commits.
LLD's error messages contain line numbers, function names or section names.
Currently they are formatter as follows.
foo.c (32): symbol 'foo' not found
foo.c (function bar): symbol 'foo' not found
foo.c (.text+0x1234): symbol 'foo' not found
This patch changes them so that they are consistent with Clang's output.
foo.c:32: symbol 'foo' not found
foo.c:(function bar): symbol 'foo' not found
foo.c:(.text+0x1234): symbol 'foo' not found
https://reviews.llvm.org/D26901
Files:
ELF/Relocations.cpp
test/ELF/aarch64-fpic-add_abs_lo12_nc.s
test/ELF/aarch64-fpic-adr_prel_lo21.s
test/ELF/aarch64-fpic-adr_prel_pg_hi21.s
test/ELF/aarch64-fpic-ldst32_abs_lo12_nc.s
test/ELF/aarch64-fpic-ldst64_abs_lo12_nc.s
test/ELF/aarch64-fpic-ldst8_abs_lo12_nc.s
test/ELF/arm-target1.s
test/ELF/basic.s
test/ELF/conflict.s
test/ELF/copy-errors.s
test/ELF/copy-in-shared.s
test/ELF/copy-rel-pie-error.s
test/ELF/dynamic-reloc-in-ro.s
test/ELF/eh-frame-dyn-rel.s
test/ELF/libsearch.s
test/ELF/linkerscript/edata-etext.s
test/ELF/linkerscript/ehdr_start.s
test/ELF/lto/combined-lto-object-name.ll
test/ELF/relocation-relative-absolute.s
test/ELF/sysroot.s
test/ELF/tls-static.s
test/ELF/undef-shared.s
test/ELF/undef.s
test/ELF/unresolved-symbols.s
test/ELF/verneed-local.s
test/ELF/zdefs.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26901.78673.patch
Type: text/x-patch
Size: 18663 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161120/0f0facf9/attachment.bin>
More information about the llvm-commits
mailing list