summaryrefslogtreecommitdiffstats
path: root/llvm/test/Linker/unnamed-addr1-a.ll
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2015-06-04 19:57:46 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2015-06-04 19:57:46 +0000
commitde5a94a6b4d1574fea0f252e65408343338ba664 (patch)
treee5013ea1b079e1e7db03f78f93112777886c85d6 /llvm/test/Linker/unnamed-addr1-a.ll
parent31d9c47540c89a8219d7439c14123caebc5dde3d (diff)
downloadbcm5719-llvm-de5a94a6b4d1574fea0f252e65408343338ba664.tar.gz
bcm5719-llvm-de5a94a6b4d1574fea0f252e65408343338ba664.zip
[Object, MachO] Don't crash on invalid MachO load commands.
Summary: Currently all load commands are parsed in MachOObjectFile constructor. If the next load command cannot be parsed, or if command size is too small, properly report it through the error code and fail to construct the object, instead of crashing the program. Test Plan: regression test suite Reviewers: rafael, filcab Subscribers: llvm-commits llvm-svn: 239080
Diffstat (limited to 'llvm/test/Linker/unnamed-addr1-a.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud