1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test
Kevin Enderby 945617b128 Change llvm-objdump, llvm-nm and llvm-size when reporting an object file error
when the object is from a slice of a Mach-O Universal Binary use something like
"foo.o (for architecture i386)" as part of the error message when expected.

Also fixed places in these tools that were ignoring object file errors from
MachOUniversalBinary::getAsObjectFile() when the code moved on to see if
the slice was an archive.

To do this MachOUniversalBinary::getAsObjectFile() and
MachOUniversalBinary::getObjectForArch() were changed from returning
ErrorOr<...> to Expected<...> then that was threaded up to its users.

Converting these interfaces to Expected<> from ErrorOr<> does involve
touching a number of places. To contain the changes for now the use of
errorToErrorCode() is still used in two places yet to be fully converted.

llvm-svn: 271332
2016-05-31 20:35:34 +00:00
..
Analysis [CFLAA] Don't link GEP pointers to GEP indices. 2016-05-31 19:55:05 +00:00
Assembler Fix constant folding of addrspacecast of null 2016-05-21 00:14:04 +00:00
Bindings
Bitcode Objective-C Class Properties: Autoupgrade "Class Properties" module flag. 2016-05-25 23:14:48 +00:00
BugPoint
CodeGen [CodeGen] Promote FMINNAN/FMAXNAN like other binops. 2016-05-31 18:50:25 +00:00
DebugInfo [codeview] Improve readability of type record assembly 2016-05-31 18:45:36 +00:00
Examples
ExecutionEngine [MIPS][LLVM-MC] Fix Disassemble of Negative Offset 2016-05-24 09:57:10 +00:00
Feature Update the stack coloring pass to remove lifetime intrinsics in the optnone/opt-bisect skip case. 2016-05-27 22:56:49 +00:00
FileCheck Fix windows build bot failure 2016-05-28 00:03:35 +00:00
Instrumentation [esan|cfrag] Create the skeleton of cfrag variable for the runtime 2016-05-31 17:14:02 +00:00
Integer
JitListener
LibDriver
Linker ValueMapper: fix assertion when null-mapping a constant for linking metadata 2016-05-28 17:26:03 +00:00
LTO
MC [mips] Remove tests which should have been deleted. 2016-05-31 17:52:29 +00:00
Object Change llvm-objdump, llvm-nm and llvm-size when reporting an object file error 2016-05-31 20:35:34 +00:00
ObjectYAML [obj2yaml][yaml2obj] Support for reading and dumping the MachO export trie 2016-05-31 17:26:36 +00:00
Other Update the stack coloring pass to remove lifetime intrinsics in the optnone/opt-bisect skip case. 2016-05-27 22:56:49 +00:00
SymbolRewriter
TableGen
ThinLTO/X86 [ThinLTO] Resolve LinkOnceAny 2016-05-26 14:16:52 +00:00
tools Linker: teach the IR mover to return llvm::Error. 2016-05-27 05:21:35 +00:00
Transforms Fix a crash in MergeFunctions related to ordering of weak/strong functions 2016-05-31 17:20:23 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg test: Be consistent with clang's sanitizer lit config 2016-05-23 23:02:11 +00:00
lit.site.cfg.in Add the printing the Mach-O (__LLVM,__bundle) xar archive file section "verbosely" 2016-05-23 21:34:12 +00:00
TestRunner.sh