]> granicus.if.org Git - llvm/commit
llvm-objdump: deal with unexpected object files more gracefully.
authorTim Northover <tnorthover@apple.com>
Tue, 15 Nov 2016 20:26:01 +0000 (20:26 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 15 Nov 2016 20:26:01 +0000 (20:26 +0000)
commit3b2bb1a2bc03e9cef8f6a2186ec03c106e542012
tree7ee5ef6805422a52a14bba9358b6c5698a29f8ae
parent7036e8dad105885ec945919e21dd6dc37eb7c1c0
llvm-objdump: deal with unexpected object files more gracefully.

Specifically, we don't want to segfault on release builds, so print the problem
instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287022 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-objdump/Inputs/malformed-unwind.macho-x86_64 [new file with mode: 0755]
test/tools/llvm-objdump/malformed-unwind-x86_64.test [new file with mode: 0644]
tools/llvm-objdump/MachODump.cpp