1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/lib/Object
Kevin Enderby ee96ce6849 Change GenericBinaryError to no longer include a FileName, which is then not
part of the error message.

As the caller is the one that needs to add the name of where the "object file"
comes from to the error message as the object file could be in an archive, or
coming from a slice of a Mach-O universal file or a buffer created by a JIT.

In the cases of a Mach-O universal file the architecture name may or may not
also need to be printed which is up to the tool code.  For example if the tool
code is only selecting the host architecture slice then that architecture name
is never printed.

This patch is the change to the libObject code and there will be follow on
commits for changes to the code for each tool.

llvm-svn: 268789
2016-05-06 20:16:28 +00:00
..
Archive.cpp Expose a getFullName for thin archive members. 2016-05-02 13:45:06 +00:00
ArchiveWriter.cpp [lib/Object] Make this assertion more useful. 2016-05-03 07:30:56 +00:00
Binary.cpp Thread Expected<...> up from createMachOObjectFile() to allow llvm-objdump to produce a real error message 2016-04-06 22:14:09 +00:00
CMakeLists.txt
COFFObjectFile.cpp Thread Expected<...> up from libObject’s getType() for symbols to allow llvm-objdump to produce a good error message. 2016-05-02 20:28:12 +00:00
ELF.cpp
ELFObjectFile.cpp
Error.cpp Change GenericBinaryError to no longer include a FileName, which is then not 2016-05-06 20:16:28 +00:00
IRObjectFile.cpp Clean the API for CollectAsmUndefinedRefs, taking a Triple and a String InlineAsm instead of a Module (NFC) 2016-04-22 04:58:12 +00:00
LLVMBuild.txt
MachOObjectFile.cpp Change GenericBinaryError to no longer include a FileName, which is then not 2016-05-06 20:16:28 +00:00
MachOUniversal.cpp
ModuleSummaryIndexObjectFile.cpp [ThinLTO] Remove unused/incomplete lazy summary reading support (NFC) 2016-04-22 01:52:00 +00:00
Object.cpp Thread Expected<...> up from libObject’s getType() for symbols to allow llvm-objdump to produce a good error message. 2016-05-02 20:28:12 +00:00
ObjectFile.cpp Thread Expected<...> up from libObject’s getType() for symbols to allow llvm-objdump to produce a good error message. 2016-05-02 20:28:12 +00:00
RecordStreamer.cpp
RecordStreamer.h
SymbolicFile.cpp Thread Expected<...> up from createMachOObjectFile() to allow llvm-objdump to produce a real error message 2016-04-06 22:14:09 +00:00
SymbolSize.cpp