llvm-6502/lib/Object
Alexey Samsonov 5400980e1e [Object, MachO] Don't crash on invalid MachO segment load commands.
Summary:
Properly report the error in segment load commands from MachOObjectFile
constructor instead of crashing the program.

Adjust the test case accordingly.

Test Plan: regression test suite

Reviewers: rafael, filcab

Subscribers: llvm-commits

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239081 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-04 20:08:52 +00:00
..
Archive.cpp Object: Add Archive::getNumberOfSymbols(). 2015-05-26 16:20:40 +00:00
Binary.cpp Object: Handle Mach-O kext bundle files 2015-02-25 22:59:20 +00:00
CMakeLists.txt
COFFObjectFile.cpp Move to llvm-objdump a large amount of code to that is only used there. 2015-06-03 04:48:06 +00:00
COFFYAML.cpp
ELF.cpp
ELFObjectFile.cpp Simplify now that we always use an alignment of 2 for ELF files. 2015-06-02 12:05:27 +00:00
ELFYAML.cpp [llvm-readobj/obj2yaml/yaml2obj] Support MIPS machine ELF header flags 2015-05-08 07:04:59 +00:00
Error.cpp [Object, MachO] Don't crash on invalid MachO segment load commands. 2015-06-04 20:08:52 +00:00
IRObjectFile.cpp Remove MCAssembler.h include from MCStreamer.h and fix users of MCStreamer.h 2015-05-15 22:19:42 +00:00
LLVMBuild.txt
MachOObjectFile.cpp [Object, MachO] Don't crash on invalid MachO segment load commands. 2015-06-04 20:08:52 +00:00
MachOUniversal.cpp
Makefile
Object.cpp Move to llvm-objdump a large amount of code to that is only used there. 2015-06-03 04:48:06 +00:00
ObjectFile.cpp Simplify interface of function that doesn't fail. 2015-05-31 23:52:50 +00:00
RecordStreamer.cpp Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
RecordStreamer.h Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
SymbolicFile.cpp Object: Handle Mach-O kext bundle files 2015-02-25 22:59:20 +00:00