diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-01-23 15:10:33 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-01-23 15:10:33 +0000 |
commit | c93491352cf3146559de7755283f0dd259392126 (patch) | |
tree | 128455894af6d2d5628010263c6a83724f736f0e /lldb/source/Commands/CommandObjectThread.cpp | |
parent | df0fd1c301d6a17c1cdeea1f19154e60a5b29f47 (diff) | |
download | llvm-c93491352cf3146559de7755283f0dd259392126.zip llvm-c93491352cf3146559de7755283f0dd259392126.tar.gz llvm-c93491352cf3146559de7755283f0dd259392126.tar.bz2 |
[lldb] CxxModuleHandler - use cast<> instead of dyn_cast<> to avoid dereference of nullptr
The pointer is dereferenced immediately, so assert the cast is correct instead of returning nullptr
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions