diff options
| author | Vedant Kumar <vsk@apple.com> | 2020-02-10 13:10:47 -0800 |
|---|---|---|
| committer | Vedant Kumar <vsk@apple.com> | 2020-02-10 14:10:06 -0800 |
| commit | 8b81ebfe7eba089ed2016d523cc5ee9d05e957a7 (patch) | |
| tree | b17dbe5a463c053f41365de7c68c811e299ee0d2 /lldb/test/API/python_api/process/TestProcessAPI.py | |
| parent | 7683a084de6bd2637f2351f53389df8b610566cf (diff) | |
[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 'lldb/test/API/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions
