summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorElvis Wang <elvis.wang@sifive.com>2024-09-20 22:45:53 +0800
committerGitHub <noreply@github.com>2024-09-20 22:45:53 +0800
commit86ce8e4504c06ecc3cc42f002ad4eb05cac10925 (patch)
treeb9aeb13df2697486eefc122c90bb4e3701c09f4f /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent4eb98384099cbd1d901d8ef6a210af95d9c36adf (diff)
[RISCV][TTI] Fix potential crash of using dyn_cast() in getIntrinsicInstrCost() NFC. (#109379)
This patch fix the potential crash about using dyn_cast in `vp_cmp` which is same as #109313. Check if the IntrinsicCostAttrubute contains underlying instruction first and cast to the VPCmpIntrinsic.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions