llvm-project/llvm/test
Kevin Enderby 1051909df1 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
..
Analysis Revert -r273892 "Support arbitrary addrspace pointers in masked load/store intrinsics" since some of the clang tests don't expect to see the updated signatures. 2016-06-27 16:54:33 +00:00
Assembler Revert -r273892 "Support arbitrary addrspace pointers in masked load/store intrinsics" since some of the clang tests don't expect to see the updated signatures. 2016-06-27 16:54:33 +00:00
Bindings [OCaml] Add functions for accessing metadata nodes. 2016-06-22 03:30:24 +00:00
Bitcode BitcodeWriter: Remove redundant (and incorrect) check for whether to emit module summary. 2016-06-24 01:58:02 +00:00
BugPoint
CodeGen AMDGPU: Implement per-function subtargets 2016-06-27 20:48:03 +00:00
DebugInfo Revert r273807 (and r273809, r273810), it caused PR28311 2016-06-26 15:10:34 +00:00
Examples
ExecutionEngine ExecutionEngine: add preliminary support for COFF ARM 2016-06-24 14:11:44 +00:00
Feature IR: Introduce local_unnamed_addr attribute. 2016-06-14 21:01:22 +00:00
FileCheck Make check lines not match themselves. 2016-06-16 19:38:48 +00:00
Instrumentation [asan] Do not instrument accesses to profiling globals 2016-06-22 17:30:58 +00:00
Integer Make "@name =" mandatory for globals in .ll files. 2016-05-10 18:22:45 +00:00
JitListener
LTO Remangle intrinsics names when types are renamed 2016-06-24 15:10:29 +00:00
LibDriver
Linker Linker: Copy metadata when linking declarations. 2016-06-24 17:42:21 +00:00
MC [mips][micromips] Implement LD, LLD, LWU, SD, DSRL, DSRL32 and DSRLV instructions 2016-06-27 08:23:28 +00:00
Object Change all but the last ErrorOr<...> use for MachOUniversalBinary to Expected<...> to 2016-06-27 21:39:39 +00:00
ObjectYAML [yaml2obj] Remove --format option in favor of YAML tags 2016-06-27 19:53:53 +00:00
Other Statistic: Add machine parseable json output 2016-06-15 20:19:16 +00:00
SymbolRewriter
TableGen [Target] Introduce a generic opcode for bitwise OR: G_OR. 2016-06-08 16:12:19 +00:00
ThinLTO/X86 [ThinLTO] Resolve LinkOnceAny 2016-05-26 14:16:52 +00:00
Transforms add tests for PR28153 2016-06-27 20:28:59 +00:00
Unit
Verifier Verifier: Reject non-float !fpmath 2016-06-27 19:43:15 +00:00
YAMLParser
tools [yaml2obj] Remove --format option in favor of YAML tags 2016-06-27 19:53:53 +00:00
.clang-format
CMakeLists.txt [cmake] Fix builds with LLVM_ENABLE_PIC=0 2016-06-02 16:29:07 +00:00
TestRunner.sh
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