diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-01-23 12:50:12 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-01-23 12:50:12 +0000 |
commit | 946f29028e063c768dc9b8c6e87c2eb584993df6 (patch) | |
tree | 8e83801a13b586b9268d430a30d27da98fcb3f47 /lldb/source/Commands/CommandObjectThread.cpp | |
parent | 20d46fbd4a51a0b80731268f8d72b62e87ead915 (diff) | |
download | llvm-946f29028e063c768dc9b8c6e87c2eb584993df6.zip llvm-946f29028e063c768dc9b8c6e87c2eb584993df6.tar.gz llvm-946f29028e063c768dc9b8c6e87c2eb584993df6.tar.bz2 |
[llvm-objdump] 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