llvm-project/llvm/test/tools/llvm-objdump/Inputs
Kevin Enderby 3e95bd2239 Add error handling to the dyld compact export entries in libObject.
lld needs a matching change for this will be my next commit.
Expect it to fail build until that matching commit is picked up by the bots.

Like the changes in r296527 for dyld bind entires and the changes in
r298883 for lazy bind, weak bind and rebase entries the export
entries are the last of the dyld compact info to have error handling added.

This follows the model of iterators that can fail that Lang Hanes
designed when fixing the problem for bad archives r275316 (or r275361).

So that iterating through the exports now terminates if there is an error
and returns an llvm::Error with an error message in all cases for malformed
input.

This change provides the plumbing for the error handling, all the needed
testing of error conditions and test cases for all of the unique error messages.

llvm-svn: 308690
2017-07-20 23:08:41 +00:00
..
LLVM-bundle.macho-x86_64
bad-ordinal.macho-x86_64
bind.macho-x86_64
bind2.macho-x86_64
common-symbol-elf
compact-unwind.macho-i386
compact-unwind.macho-x86_64
eh_frame.elf-mipsel
eh_frame.macho-arm64
eh_frame_zero_cie.o
empty.macho-armv7
export.dll.coff-i386
exports-trie.macho-x86_64
file-aux-record.yaml
file.obj.coff-arm
large-bss.obj.coff-i386
lazy-bind.macho-x86_64
libbogus1.a
libbogus2.a
libbogus3.a
libbogus4.a
libbogus5.a
libbogus6.a
libbogus7.a
libbogus8.a
libbogus9.a
libbogus10.a
libbogus11.a
libbogus12.a
libbogus13.a
libbogus14.a
library.lib
macho-bind-add-addr-imm-scaled Add the rest of the error checking for Mach-O dyld compact bind entry errors 2017-03-20 19:46:55 +00:00
macho-bind-add_addr_uleb Add the rest of the error checking for Mach-O dyld compact bind entry errors 2017-03-20 19:46:55 +00:00
macho-bind-bad-opcode-value Add the rest of the error checking for Mach-O dyld compact bind entry errors 2017-03-20 19:46:55 +00:00
macho-bind-bind-add-addr-uleb Add the rest of the error checking for Mach-O dyld compact bind entry errors 2017-03-20 19:46:55 +00:00
macho-bind-do-bind-no-segIndex Add the rest of the error checking for Mach-O dyld compact bind entry errors 2017-03-20 19:46:55 +00:00
macho-bind-dylib-ordinal-uleb Add the rest of the error checking for Mach-O dyld compact bind entry errors 2017-03-20 19:46:55 +00:00
macho-bind-dylib-ordinal-uleb-malformed-uleb128 Add the rest of the error checking for Mach-O dyld compact bind entry errors 2017-03-20 19:46:55 +00:00
macho-bind-dylib-ordinal-uleb-too-big Add the rest of the error checking for Mach-O dyld compact bind entry errors 2017-03-20 19:46:55 +00:00
macho-bind-dylib-special-imm Add the rest of the error checking for Mach-O dyld compact bind entry errors 2017-03-20 19:46:55 +00:00
macho-bind-seg-too-big Add the rest of the error checking for Mach-O dyld compact bind entry errors 2017-03-20 19:46:55 +00:00
macho-bind-segoff-too-big Add the rest of the error checking for Mach-O dyld compact bind entry errors 2017-03-20 19:46:55 +00:00
macho-bind-set-addend-sleb Add the rest of the error checking for Mach-O dyld compact bind entry errors 2017-03-20 19:46:55 +00:00
macho-bind-set-symbol Add the rest of the error checking for Mach-O dyld compact bind entry errors 2017-03-20 19:46:55 +00:00
macho-bind-set-type-imm Add the rest of the error checking for Mach-O dyld compact bind entry errors 2017-03-20 19:46:55 +00:00
macho-bind-uleb-times-skipping-uleb Add the rest of the error checking for Mach-O dyld compact bind entry errors 2017-03-20 19:46:55 +00:00
macho-do-bind-no-dylib-ordinal Add the rest of the error checking for Mach-O dyld compact bind entry errors 2017-03-20 19:46:55 +00:00
macho-do-bind-no-symbol Add the rest of the error checking for Mach-O dyld compact bind entry errors 2017-03-20 19:46:55 +00:00
macho-inconsistant-export Add error handling to the dyld compact export entries in libObject. 2017-07-20 23:08:41 +00:00
macho-lazy-do-bind-add-addr-imm-scaled Add the error handling for Mach-O dyld compact lazy bind, weak bind and 2017-03-27 20:09:23 +00:00
macho-lazy-do-bind-uleb-times-skipping-uleb Add the error handling for Mach-O dyld compact lazy bind, weak bind and 2017-03-27 20:09:23 +00:00
macho-lazy-do_bind_add_addr_uleb Add the error handling for Mach-O dyld compact lazy bind, weak bind and 2017-03-27 20:09:23 +00:00
macho-rebase-add-addr-imm-scaled Add the error handling for Mach-O dyld compact lazy bind, weak bind and 2017-03-27 20:09:23 +00:00
macho-rebase-add-addr-uleb Add the error handling for Mach-O dyld compact lazy bind, weak bind and 2017-03-27 20:09:23 +00:00
macho-rebase-add-addr-uleb-too-big Add the error handling for Mach-O dyld compact lazy bind, weak bind and 2017-03-27 20:09:23 +00:00
macho-rebase-bad-opcode-value Add the error handling for Mach-O dyld compact lazy bind, weak bind and 2017-03-27 20:09:23 +00:00
macho-rebase-imm-times Add the error handling for Mach-O dyld compact lazy bind, weak bind and 2017-03-27 20:09:23 +00:00
macho-rebase-seg-too-big Add the error handling for Mach-O dyld compact lazy bind, weak bind and 2017-03-27 20:09:23 +00:00
macho-rebase-segoff-too-big Add the error handling for Mach-O dyld compact lazy bind, weak bind and 2017-03-27 20:09:23 +00:00
macho-rebase-set-type-imm Add the error handling for Mach-O dyld compact lazy bind, weak bind and 2017-03-27 20:09:23 +00:00
macho-rebase-uleb-malformed-uleb128 Add the error handling for Mach-O dyld compact lazy bind, weak bind and 2017-03-27 20:09:23 +00:00
macho-rebase-uleb-times Add the error handling for Mach-O dyld compact lazy bind, weak bind and 2017-03-27 20:09:23 +00:00
macho-rebase-uleb-times-skipping-uleb Add the error handling for Mach-O dyld compact lazy bind, weak bind and 2017-03-27 20:09:23 +00:00
macho-trie-bad-export-info-malformed-uleb128 Add error handling to the dyld compact export entries in libObject. 2017-07-20 23:08:41 +00:00
macho-trie-bad-export-info-malformed-uleb128_too_big Add error handling to the dyld compact export entries in libObject. 2017-07-20 23:08:41 +00:00
macho-trie-bad-kind Add error handling to the dyld compact export entries in libObject. 2017-07-20 23:08:41 +00:00
macho-trie-bad-library-ordinal Add error handling to the dyld compact export entries in libObject. 2017-07-20 23:08:41 +00:00
macho-trie-children-count-byte Add error handling to the dyld compact export entries in libObject. 2017-07-20 23:08:41 +00:00
macho-trie-edge-string-end Add error handling to the dyld compact export entries in libObject. 2017-07-20 23:08:41 +00:00
macho-trie-export-info-size-too-big Add error handling to the dyld compact export entries in libObject. 2017-07-20 23:08:41 +00:00
macho-trie-import-name-end Add error handling to the dyld compact export entries in libObject. 2017-07-20 23:08:41 +00:00
macho-trie-import-name-start Add error handling to the dyld compact export entries in libObject. 2017-07-20 23:08:41 +00:00
macho-trie-node-loop Add error handling to the dyld compact export entries in libObject. 2017-07-20 23:08:41 +00:00
macho-trie-not-export-node Add error handling to the dyld compact export entries in libObject. 2017-07-20 23:08:41 +00:00
macho-weak-bind-set-dylib-ordinal-imm Add the error handling for Mach-O dyld compact lazy bind, weak bind and 2017-03-27 20:09:23 +00:00
macho-weak-bind-set-dylib-ordinal-uleb Add the error handling for Mach-O dyld compact lazy bind, weak bind and 2017-03-27 20:09:23 +00:00
macho-weak-bind-set-dylib-special-imm Add the error handling for Mach-O dyld compact lazy bind, weak bind and 2017-03-27 20:09:23 +00:00
malformed-macho.bin
malformed-unwind.macho-x86_64
many-relocs.obj-i386
nop.exe.coff-i386
out-of-section-sym.s
proc-specific-section-elf
rebase.macho-x86_64
section-filter.obj
section.macho-armv7
tls.exe.coff-x86_64
trivial.ll [WebAssembly] Be consistent in generating trivial test input files 2017-07-10 20:43:26 +00:00
trivial.obj.wasm [WebAssembly] Be consistent in generating trivial test input files 2017-07-10 20:43:26 +00:00
unwind-info-no-relocs.macho-x86_64
unwind-info.macho-arm64
unwind-info.macho-x86_64
weak-bind.macho-x86_64
win64-unwind.exe.coff-x86_64.asm
win64-unwind.exe.coff-x86_64.exe
win64-unwind.exe.coff-x86_64.obj