1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/lib/Object
Kevin Enderby 8468807493 Change all but the last ErrorOr<...> use for MachOUniversalBinary to Expected<...> to
allow a good error message to be produced.

I added the one test case that the object file tools could produce an error
message.  The other two errors can’t be triggered if the input file is passed
through sys::fs::identify_magic().  But the malformedError("bad magic number")
does get triggered by the logic in llvm-dsymutil when dealing with a normal
Mach-O file.  The other "File too small ..." error would take a logic error
currently to produce and is not tested for.

llvm-svn: 273946
2016-06-27 21:39:39 +00:00
..
Archive.cpp Make sure Format is always initialized. 2016-06-24 13:47:29 +00:00
ArchiveWriter.cpp
Binary.cpp Change all but the last ErrorOr<...> use for MachOUniversalBinary to Expected<...> to 2016-06-27 21:39:39 +00:00
CMakeLists.txt [CMake] Restrict libxar linkage to just llvm-objdump 2016-05-26 16:32:40 +00:00
COFFObjectFile.cpp [Object, COFF] An import data directory might not consist soley of imports 2016-06-26 04:36:32 +00:00
ELF.cpp Support/ELF: Add AMDGPU relocation definitions to match documentation 2016-06-17 22:38:08 +00:00
ELFObjectFile.cpp [llvm-objdump] Support detection of feature bits from the object and implement this for Mips. 2016-06-16 09:17:03 +00:00
Error.cpp Add FIXMEs to all derived classes of std::error_category. 2016-05-24 20:13:46 +00:00
IRObjectFile.cpp [IRObjectFile] Try to be defensive, add a break. 2016-06-23 00:07:31 +00:00
LLVMBuild.txt
MachOObjectFile.cpp Thread Expected<...> up from libObject’s getSymbolAddress() for symbols to allow 2016-06-24 18:24:42 +00:00
MachOUniversal.cpp Change all but the last ErrorOr<...> use for MachOUniversalBinary to Expected<...> to 2016-06-27 21:39:39 +00:00
ModuleSummaryIndexObjectFile.cpp Apply another batch of fixes from clang-tidy's performance-unnecessary-value-param. 2016-06-17 20:41:14 +00:00
Object.cpp Thread Expected<...> up from libObject’s getSymbolAddress() for symbols to allow 2016-06-24 18:24:42 +00:00
ObjectFile.cpp
RecordStreamer.cpp [IRObjectFile] Propagate .weak attribute correctly for ASM symbols. 2016-06-22 20:48:15 +00:00
RecordStreamer.h [IRObjectFile] Propagate .weak attribute correctly for ASM symbols. 2016-06-22 20:48:15 +00:00
SymbolicFile.cpp
SymbolSize.cpp