1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 13:33:37 +02:00
llvm-mirror/tools/llvm-readobj
Sam Clegg aaf3055813 [llvm-readobj] Improve errors on invalid binary
The previous code was discarding the error message from
createBinary() by calling errorToErrorCode().
This meant that such error were always reported unhelpfully
as "Invalid data was encountered while parsing the file".

Other tools such as llvm-objdump already produce a more
the error message in this case.

Differential Revision: https://reviews.llvm.org/D32985

llvm-svn: 302664
2017-05-10 14:18:11 +00:00
..
ARMEHABIPrinter.h [ELF] Convert ELF.h to Expected<T>. 2016-11-16 05:10:28 +00:00
ARMWinEHPrinter.cpp Thread Expected<...> up from libObject’s getSymbolAddress() for symbols to allow 2016-06-24 18:24:42 +00:00
ARMWinEHPrinter.h Move llvm-readobj/StreamWriter to Support. 2016-05-03 00:28:04 +00:00
CMakeLists.txt [pdb] Add the ability to resolve TypeServer PDBs. 2017-02-16 23:35:45 +00:00
CodeView.h Silence gcc warning about ternary and enumerations 2016-01-28 23:59:35 +00:00
COFFDumper.cpp Fix the Endianness bug by adding the little endian UTF marker. 2017-05-09 19:35:45 +00:00
COFFImportDumper.cpp
ELFDumper.cpp Add llvm::object::getELFSectionTypeName(). 2017-05-02 14:04:52 +00:00
Error.cpp Remove LLVM_NOEXCEPT and replace it with noexcept 2016-10-19 23:52:38 +00:00
Error.h
llvm-readobj.cpp [llvm-readobj] Improve errors on invalid binary 2017-05-10 14:18:11 +00:00
llvm-readobj.h [llvm-readobj] Update readobj to re-use parsing code. 2017-05-03 17:11:11 +00:00
LLVMBuild.txt [pdb] Add the ability to resolve TypeServer PDBs. 2017-02-16 23:35:45 +00:00
MachODumper.cpp Add LC_BUILD_VERSION load command 2017-01-23 20:07:55 +00:00
ObjDumper.cpp Move llvm-readobj/StreamWriter to Support. 2016-05-03 00:28:04 +00:00
ObjDumper.h [llvm-readobj] Dump COFF Resources section. 2017-04-27 19:38:38 +00:00
StackMapPrinter.h [Stackmap] Added callsite counts to emitted function information. 2016-09-14 20:22:03 +00:00
WasmDumper.cpp [WebAssembly] Write initial memory in pages not bytes 2017-04-28 21:12:09 +00:00
Win64EHDumper.cpp Thread Expected<...> up from libObject’s getSymbolAddress() for symbols to allow 2016-06-24 18:24:42 +00:00
Win64EHDumper.h Move llvm-readobj/StreamWriter to Support. 2016-05-03 00:28:04 +00:00