aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2020-02-10 13:10:47 -0800
committerVedant Kumar <vsk@apple.com>2020-02-10 14:10:06 -0800
commit8b81ebfe7eba089ed2016d523cc5ee9d05e957a7 (patch)
treeb17dbe5a463c053f41365de7c68c811e299ee0d2 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent7683a084de6bd2637f2351f53389df8b610566cf (diff)
downloadllvm-8b81ebfe7eba089ed2016d523cc5ee9d05e957a7.zip
llvm-8b81ebfe7eba089ed2016d523cc5ee9d05e957a7.tar.gz
llvm-8b81ebfe7eba089ed2016d523cc5ee9d05e957a7.tar.bz2
[ubsan] Null-check and adjust TypeLoc before using it
Null-check and adjut a TypeLoc before casting it to a FunctionTypeLoc. This fixes a crash in -fsanitize=nullability-return, and also makes the location of the nonnull type available when the return type is adjusted. rdar://59263039 Differential Revision: https://reviews.llvm.org/D74355
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions