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.
Paths
| Differential D26970
[ELF] Refactor several fatal error messages ClosedPublic Authored by evgeny777 on Nov 22 2016, 6:07 AM.
Details Summary This patch does the following:
Diff Detail Event Timelineevgeny777 updated this object. This revision is now accepted and ready to land.Nov 22 2016, 8:27 AM
Closed by commit rL287753: [ELF] Refactor several error messages (authored by evgeny777). · Explain WhyNov 23 2016, 2:17 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 78862 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
|
This should be llvm_unreachable.