forked from OSchip/llvm-project
3e95bd2239
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 |
||
---|---|---|
.. | ||
AArch64 | ||
AMDGPU | ||
ARM | ||
Hexagon | ||
Inputs | ||
Mips | ||
WebAssembly | ||
X86 | ||
coff-file.test | ||
coff-import-library.test | ||
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 | ||
macho-bad-ordinal.test | ||
macho-bad-trie.test | ||
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 | ||
malformed-macho.test | ||
malformed-unwind-x86_64.test | ||
proc-specific-section-elf.test | ||
section-filter.test | ||
wasm.txt | ||
win64-unwind-data.test |