llvm-project/llvm/test/tools/llvm-objdump
Kevin Enderby 6c1d2b4cb2 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.

llvm-svn: 298883
2017-03-27 20:09:23 +00:00
..
AArch64 Yet another fix llvm-objdump so it picks a good CPU based for Mach-O files, 2017-02-10 19:27:10 +00:00
AMDGPU Fix source-lines test on Windows. 2017-03-07 21:53:21 +00:00
ARM Fix llvm-objdump so it picks a good CPU based for Mach-O files 2017-01-24 23:41:04 +00:00
Hexagon [IR] Remove the DIExpression field from DIGlobalVariable. 2016-12-20 02:09:43 +00:00
Inputs Add the error handling for Mach-O dyld compact lazy bind, weak bind and 2017-03-27 20:09:23 +00:00
Mips [mips] Drop unneeded REQUIRES line in test. NFCI 2017-03-01 14:31:09 +00:00
X86 Add the rest of the error checking for Mach-O dyld compact bind entry errors 2017-03-20 19:46:55 +00:00
coff-file.test
coff-import-library.test llvm-objdump: add coff import library symbol listing support 2016-08-18 16:39:19 +00:00
coff-large-bss.test
coff-many-relocs.test
coff-non-null-terminated-file.test
coff-private-headers.test
common-symbol-elf.test
eh_frame-arm64.test
eh_frame-mipsel.test
eh_frame_zero_cie.test
hex-relocation-addr.test
invalid-input.test
macho-LLVM-bundle.test
macho-bad-bind.test Add the error handling for Mach-O dyld compact lazy bind, weak bind and 2017-03-27 20:09:23 +00:00
macho-bad-ordinal.test Actually add error handling to unpacking the dyld compact bind and 2017-02-28 21:47:07 +00:00
macho-bind.test
macho-bind2.test
macho-compact-unwind-i386.test
macho-compact-unwind-x86_64.test
macho-exports-trie.test
macho-lazy-bind.test
macho-objc-meta-data.test
macho-rebase.test
macho-sections.test
macho-unwind-info-arm64.test
macho-unwind-info-no-relocs.test
macho-unwind-info-x86_64.test
macho-weak-bind.test
malformed-archives.test llvm-objdump: Make some error messages more consistent 2016-10-26 22:37:52 +00:00
malformed-macho.test Change the llvm-obdump(1) behavior with the -macho flag and inappropriate file types. 2017-01-30 20:53:17 +00:00
malformed-unwind-x86_64.test llvm-objdump: deal with unexpected object files more gracefully. 2016-11-15 20:26:01 +00:00
proc-specific-section-elf.test
section-filter.test
wasm.txt [WebAssembly] Update llvm-objdump tests for the new wasm version number. 2017-02-22 20:24:16 +00:00
win64-unwind-data.test