llvm/test/tools
Kevin Enderby 3903b47a90 Add the error handling for Mach-O dyld compact lazy bind, weak bind and
rebase entry errors and test cases for each of the error checks.

Also verified with Nick Kledzik that a BIND_OPCODE_SET_ADDEND_SLEB
opcode is legal in a lazy bind table, so code that had that as an error
check was removed.

With MachORebaseEntry and MachOBindEntry classes now returning
an llvm::Error in all cases for malformed input the variables Malformed
and logic to set use them is no longer needed and has been removed
from those classes.

Also in a few places, removed the redundant Done assignment to true
when also calling moveToEnd() as it does that assignment.

This only leaves the dyld compact export entries left to have
error handling yet to be added for the dyld compact info.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298883 91177308-0d34-0410-b5e6-96231b3b80d8
2017-03-27 20:09:23 +00:00
..
dsymutil [dsymutil] Fix handling of empty CUs in LTO links. 2017-02-09 19:41:55 +00:00
gold [ThinLTO] Add support for emitting minimized bitcode for thin link 2017-03-23 19:47:39 +00:00
llvm-ar
llvm-config [llvm-config] Add minimal sanity tests for path options 2017-03-15 05:57:29 +00:00
llvm-cov [llvm-cov] Error-out when an unsupported format is used (PR32087) 2017-02-28 16:57:28 +00:00
llvm-cxxdump Fix a bug in the code of llvm-cxxdump in dumpArchive() when 2016-10-21 20:03:14 +00:00
llvm-cxxfilt c++filt: support COFF import thunks 2017-03-22 21:15:19 +00:00
llvm-dwp [llvm-dwp] - Reuse object::Decompressor class 2017-01-13 15:58:55 +00:00
llvm-lit
llvm-lto [LTO] Reject modules without datalayout. 2016-12-14 21:57:04 +00:00
llvm-lto2 Fix test and add missing return for llvm-lto2 error case 2017-03-07 18:15:13 +00:00
llvm-mc
llvm-modextract llvm-modextract: Call keep() on the output stream before exiting. 2016-12-01 23:13:11 +00:00
llvm-nm Change the test added in r293099 so it does not have the string "llvm-nm" to fix 2017-01-25 23:57:32 +00:00
llvm-objdump Add the error handling for Mach-O dyld compact lazy bind, weak bind and 2017-03-27 20:09:23 +00:00
llvm-opt-report [llvm-opt-report] Fix context-sensitive lines where nothing happened 2017-01-07 20:21:17 +00:00
llvm-pdbdump
llvm-profdata [PGO] Add omitted test cases. 2017-03-17 20:05:13 +00:00
llvm-readobj [PDB] Split item and type records when merging type streams 2017-03-24 17:26:38 +00:00
llvm-size Fix a bug with llvm-size and the -m option with multiple files not printing the file names. 2016-12-01 19:12:55 +00:00
llvm-split
llvm-strings llvm-strings: add support for -t 2017-01-21 02:36:28 +00:00
llvm-symbolizer Get function start line number from DWARF info 2017-02-06 20:19:02 +00:00
llvm-xray/X86 [XRAY] A Color Choosing helper for XRay Graph 2017-02-25 00:26:42 +00:00
lto Fix test/tools/lto/hide-linkonce-odr.ll after r289719 2016-12-15 01:31:38 +00:00
sancov [sancov] better input parameters validation 2017-03-03 18:22:20 +00:00
sanstats Use printf instead of "echo -e" or "echo -n". 2016-10-26 01:07:26 +00:00
yaml2obj