commit | a965baca3c7ce1ced00446cff1c6395d03dfed52 | [log] [tgz] |
---|---|---|
author | Eli Bendersky <eliben@google.com> | Fri Jan 25 20:53:41 2013 +0000 |
committer | Eli Bendersky <eliben@google.com> | Fri Jan 25 20:53:41 2013 +0000 |
tree | 0a99095a38ce45c153857b6f080c5b4f34de5c9d | |
parent | a506b00d142b04ddaba776d4a8bd5d85b87aeea8 [diff] |
When encountering an unknown file format, ObjectFile::createObjectFile should politely report it instead of running into llvm_unreachable. Also patch llvm-dwarfdump to actually check whether the file it's attempting to dump is a valid object file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173489 91177308-0d34-0410-b5e6-96231b3b80d8