mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
46ecdee89c
As mentioned in commit log for r276686 this next step is adding a new method in the ArchiveMemberHeader class to get the full name that does proper error checking, and can be use for error messages. To do this the name of ArchiveMemberHeader::getName() is changed to ArchiveMemberHeader::getRawName() to be consistent with Archive::Child::getRawName(). Then the “new” method is the addition of a new implementation of ArchiveMemberHeader::getName() which gets the full name and provides proper error checking. Which is mostly a rewrite of what was Archive::Child::getName() and cleaning up incorrect uses of llvm_unreachable() in the code which were actually just cases of errors in the input Archives. Then Archive::Child::getName() is changed to return Expected<> and use the new implementation of ArchiveMemberHeader::getName() . Also needed to change Archive::getMemoryBufferRef() with these changes to return Expected<> as well to propagate Errors up. As well as changing Archive::isThinMember() to return Expected<> . llvm-svn: 277177 |
||
---|---|---|
.. | ||
bad-ordinal.macho-x86_64 | ||
bind2.macho-x86_64 | ||
bind.macho-x86_64 | ||
common-symbol-elf | ||
compact-unwind.macho-i386 | ||
compact-unwind.macho-x86_64 | ||
eh_frame_zero_cie.o | ||
eh_frame.elf-mipsel | ||
eh_frame.macho-arm64 | ||
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 | ||
LLVM-bundle.macho-x86_64 | ||
malformed-macho.bin | ||
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 | ||
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 |