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/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp | |
| parent | 20d46fbd4a51a0b80731268f8d72b62e87ead915 (diff) | |
[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/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
