diff options
author | James Henderson <jh7370@my.bristol.ac.uk> | 2018-10-29 14:17:08 +0000 |
---|---|---|
committer | James Henderson <jh7370@my.bristol.ac.uk> | 2018-10-29 14:17:08 +0000 |
commit | c1608c96f6cc87c067e009abff42800ed54451a5 (patch) | |
tree | 727ca182eae2c4684ebcf49c5499029316f13db2 /llvm/lib/IR/DataLayout.cpp | |
parent | 31f48c50cdb63be7279b8343f1bbf7ef85496336 (diff) | |
download | bcm5719-llvm-c1608c96f6cc87c067e009abff42800ed54451a5.tar.gz bcm5719-llvm-c1608c96f6cc87c067e009abff42800ed54451a5.zip |
[llvm-objdump] Don't crash when using `-a` on non-archives
This fixes PR39402. The crash was caused when dereferencing nullptr in
DumpObject and printArchiveChild.
Reviewed By: jhenderson
Differential Revision: https://reviews.llvm.org/D53690
Patch by Xing GUO
llvm-svn: 345503
Diffstat (limited to 'llvm/lib/IR/DataLayout.cpp')
0 files changed, 0 insertions, 0 deletions