summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/DataLayout.cpp
diff options
context:
space:
mode:
authorJames Henderson <jh7370@my.bristol.ac.uk>2018-10-29 14:17:08 +0000
committerJames Henderson <jh7370@my.bristol.ac.uk>2018-10-29 14:17:08 +0000
commitc1608c96f6cc87c067e009abff42800ed54451a5 (patch)
tree727ca182eae2c4684ebcf49c5499029316f13db2 /llvm/lib/IR/DataLayout.cpp
parent31f48c50cdb63be7279b8343f1bbf7ef85496336 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud