llvm-project/llvm/lib
Kevin Enderby d4e075be63 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
..
Analysis ThinLTO: fix assertion and refactor check for hidden use from inline ASM in a helper function 2016-05-06 08:25:33 +00:00
AsmParser AMDGPU/SI: Add amdgpu_kernel calling convention. Part 1. 2016-05-06 09:07:29 +00:00
Bitcode BitcodeWriter: Simplify. NFC. 2016-05-06 02:41:23 +00:00
CodeGen SDAG: Don't leave dangling dead nodes after SelectCodeCommon 2016-05-06 18:42:16 +00:00
DebugInfo [codeview] Improve some comments 2016-05-05 20:58:46 +00:00
ExecutionEngine 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
Fuzzer [libFuzzer] print stats after running individual inputs 2016-05-04 20:44:50 +00:00
IR Refactor the Verifier so it can diagnose IR validation errors and debug 2016-05-06 19:26:47 +00:00
IRReader Remove autoconf support 2016-01-26 21:29:08 +00:00
LTO [PM] Port Interprocedural SCCP to the new pass manager. 2016-05-05 21:05:36 +00:00
LibDriver LibDriver: Silently do nothing when provided no inputs. 2016-04-13 19:36:04 +00:00
LineEditor Fix Clang-tidy modernize-deprecated-headers warnings in some files; other minor fixes. 2016-03-28 17:40:08 +00:00
Linker Fix recursive -only-needed. 2016-04-21 14:56:33 +00:00
MC [mips] Correct the ordering of HI/LO pairs in the relocation table. 2016-05-06 13:49:25 +00:00
Object Change GenericBinaryError to no longer include a FileName, which is then not 2016-05-06 20:16:28 +00:00
ObjectYAML [lanai] Add Lanai backend. 2016-03-28 13:09:54 +00:00
Option Option parser: class for consuming a joined arg in addition to all remaining args 2016-04-15 00:23:30 +00:00
Passes [PM] port IR based PGO prof-gen pass to new pass manager 2016-05-06 05:49:19 +00:00
ProfileData Add a note about the "entry count" used the profile summary 2016-05-05 19:54:13 +00:00
Support Remove LLVM_ENABLE_TIMESTAMPS 2016-05-05 19:57:03 +00:00
TableGen [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
Target [X86] Accept imp-defs of GR64 super-registers in FixupBW MOVrr. 2016-05-06 20:03:03 +00:00
Transforms [MSan] [X86] Fix vararg helper for fixed arguments in overflow area. 2016-05-06 19:36:56 +00:00
CMakeLists.txt Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00
LLVMBuild.txt Add LLVMBuild for ObjectYAML. 2016-03-01 21:29:33 +00:00