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)
commitbf55f7ea59c110df5d62d1c9b3866d374f5a86d0
treed4a65b1bacdfb447194f6f42d2a0ac18af6a7b56
parentd4bb5e483118cfa2634a21689afa217134d98eab
llvm-objdump: deal with unexpected object files more gracefully.

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

llvm-svn: 287022
llvm/test/tools/llvm-objdump/Inputs/malformed-unwind.macho-x86_64 [new file with mode: 0755]
llvm/test/tools/llvm-objdump/malformed-unwind-x86_64.test [new file with mode: 0644]
llvm/tools/llvm-objdump/MachODump.cpp