[PATCH] D27900: [ELF] - Keep the source file/line location information separate from the object file location information.
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 18 06:13:12 PST 2016
grimar created this revision.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: silvas, davide, llvm-commits, grimar, evgeny777.
Approach was suggested in review for https://reviews.llvm.org/D27676,
patch splits reporting object name and source file/line location.
Extended information about source name, line etc moved to "note:" output.
Example of new output:
error: file-dbg2.o: duplicate symbol 'zed'
error: file-dbg2.a(file-dbg2.o): previous definition was here
note: definitions found in conflict-debug.s(.text+0x0) and conflict-debug.s(.text+0x0)
https://reviews.llvm.org/D27900
Files:
ELF/EhFrame.cpp
ELF/Error.cpp
ELF/Error.h
ELF/InputFiles.cpp
ELF/InputFiles.h
ELF/InputSection.cpp
ELF/InputSection.h
ELF/Relocations.cpp
ELF/SymbolTable.cpp
ELF/Target.cpp
ELF/Writer.cpp
ELF/Writer.h
test/ELF/Inputs/conflict-debug2.s
test/ELF/aarch64-fpic-abs16.s
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/aarch64-fpic-prel16.s
test/ELF/aarch64-fpic-prel32.s
test/ELF/aarch64-fpic-prel64.s
test/ELF/arm-branch-error.s
test/ELF/arm-target1.s
test/ELF/arm-thumb-branch-error.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/invalid-cie-length.s
test/ELF/invalid-cie-length2.s
test/ELF/invalid-cie-length3.s
test/ELF/invalid-cie-length4.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/mips-align-err.s
test/ELF/non-abs-reloc.s
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/x86-64-dyn-rel-error.s
test/ELF/x86-64-dyn-rel-error2.s
test/ELF/x86-64-reloc-32-fpic.s
test/ELF/x86-64-reloc-error.s
test/ELF/x86-64-reloc-pc32-fpic.s
test/ELF/x86-64-reloc-range.s
test/ELF/zdefs.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27900.81880.patch
Type: text/x-patch
Size: 45063 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161218/130c02e4/attachment.bin>
More information about the llvm-commits
mailing list