summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.h
diff options
context:
space:
mode:
authorTyler Nowicki <tyler.nowicki@amd.com>2024-08-16 15:23:51 -0400
committerGitHub <noreply@github.com>2024-08-16 15:23:51 -0400
commit7ff377ba60bf9e615f3efc60268fbd74b75e54c4 (patch)
tree5d6f73f5b4ed5ed6acb8ac8a16adfb7b9e862a3f /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.h
parent71d54faa65f490f2a2825e591c3eb25ff7996221 (diff)
[Analysis] Fix null ptr dereference when using WriteGraph without branch probability info (#104102)
The call to 'CFGInfo->getBPI()->getEdgeProbability(Node, SuccBB);' fails when BPI is not provided. In this case we can give up and not print any edge attributes. --------- Co-authored-by: tnowicki <tnowicki.nowicki@amd.com>
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.h')
0 files changed, 0 insertions, 0 deletions