llvm-project/llvm/lib/Object
Lang Hames a5e873e2a1 [Object] Fix a crash in Archive::child_iterator's default constructor.
To be default constructible, Archive::child_iterator needs to be able to
construct an Archive::Child with a null parent, however Archive::Child's
constructor always dereferenced its Parent argument to compute the remaining
archive size. This commit fixes Archive::Child's constructor to only do the
size calculation when the parent is non-null.

llvm-svn: 283387
2016-10-05 21:20:00 +00:00
..
Archive.cpp [Object] Fix a crash in Archive::child_iterator's default constructor. 2016-10-05 21:20:00 +00:00
ArchiveWriter.cpp Reapply "More fixes to get good error messages for bad archives." 2016-08-03 19:02:50 +00:00
Binary.cpp Change Archive::create() from ErrorOr<...> to Expected<...> and update 2016-06-29 20:35:44 +00:00
CMakeLists.txt [CMake] Restrict libxar linkage to just llvm-objdump 2016-05-26 16:32:40 +00:00
COFFObjectFile.cpp [COFFObjectFile] Ignore broken symbol table 2016-08-30 20:20:24 +00:00
ELF.cpp [AVR] Handle AVR relocations when handling ELF files 2016-09-28 13:23:42 +00:00
ELFObjectFile.cpp [llvm-objdump] Support detection of feature bits from the object and implement this for Mips. 2016-06-16 09:17:03 +00:00
Error.cpp Add FIXMEs to all derived classes of std::error_category. 2016-05-24 20:13:46 +00:00
IRObjectFile.cpp [IRObjectFile] Turn llvm_unreachable("foo") into something more explicative. 2016-09-16 16:07:19 +00:00
LLVMBuild.txt
MachOObjectFile.cpp Next set of additional error checks for invalid Mach-O files for the 2016-10-04 20:37:43 +00:00
MachOUniversal.cpp [Support] Make ErrorAsOutParameter take an Error* rather than an Error&. 2016-07-22 16:11:25 +00:00
ModuleSummaryIndexObjectFile.cpp Apply another batch of fixes from clang-tidy's performance-unnecessary-value-param. 2016-06-17 20:41:14 +00:00
Object.cpp Thread Expected<...> up from libObject’s getSymbolAddress() for symbols to allow 2016-06-24 18:24:42 +00:00
ObjectFile.cpp Thread Expected<...> up from libObject’s getType() for symbols to allow llvm-objdump to produce a good error message. 2016-05-02 20:28:12 +00:00
RecordStreamer.cpp [IRObjectFile] Handle undefined weak symbols in RecordStreamer. 2016-09-15 17:54:22 +00:00
RecordStreamer.h [IRObjectFile] Handle undefined weak symbols in RecordStreamer. 2016-09-15 17:54:22 +00:00
SymbolSize.cpp [SymbolSize] Skip sorting by index, just assign by index. 2015-06-29 16:05:00 +00:00
SymbolicFile.cpp Replace "fallthrough" comments with LLVM_FALLTHROUGH 2016-08-17 05:10:15 +00:00