diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-01-23 12:45:12 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-01-23 12:45:12 +0000 |
commit | ff05b93a02d18c3b388658de2186f570d725ec71 (patch) | |
tree | 8c55bb2f74f07ad529b22223337503444cf1a2a8 /lldb/source/Commands/CommandObjectThread.cpp | |
parent | a4f202549208b543ec4475c3210ecdbf84128776 (diff) | |
download | llvm-ff05b93a02d18c3b388658de2186f570d725ec71.zip llvm-ff05b93a02d18c3b388658de2186f570d725ec71.tar.gz llvm-ff05b93a02d18c3b388658de2186f570d725ec71.tar.bz2 |
[llvm-objdump] Use cast<> instead of dyn_cast<> to avoid dereference of nullptr
The pointers are always 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