[PATCH] D26970: [ELF] Refactor several fatal error messages
Eugene Leviant via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 22 06:07:33 PST 2016
evgeny777 created this revision.
evgeny777 added reviewers: ruiu, rafael.
evgeny777 added subscribers: grimar, ikudrin, llvm-commits.
evgeny777 set the repository for this revision to rL LLVM.
evgeny777 added a project: lld.
This patch does the following:
- Adds ":" in string returned by getName(), so that error messages conform the current style
- Puts file name before error message
- Prints location for non-ABS reloc error and adds test case for it.
Repository:
rL LLVM
https://reviews.llvm.org/D26970
Files:
ELF/InputFiles.cpp
ELF/InputSection.cpp
ELF/LTO.cpp
test/ELF/invalid/invalid-elf.test
test/ELF/lto/invalid-bitcode.ll
test/ELF/merge-string-error.s
test/ELF/non-abs-reloc.s
test/ELF/relocation-past-merge-end.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26970.78862.patch
Type: text/x-patch
Size: 5098 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161122/e39ddf43/attachment.bin>
More information about the llvm-commits
mailing list