aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h
diff options
context:
space:
mode:
authorMax Kazantsev <mkazantsev@azul.com>2023-02-15 17:35:45 +0700
committerMax Kazantsev <mkazantsev@azul.com>2023-02-15 17:40:53 +0700
commitbc173f526c5755d20e584301012b29cc3484b525 (patch)
tree666e557a0e0d31b977de618898f99c2c41c78b2d /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h
parent45ddc157ca7c464ebbea627da0f682b1554e2390 (diff)
downloadllvm-bc173f526c5755d20e584301012b29cc3484b525.zip
llvm-bc173f526c5755d20e584301012b29cc3484b525.tar.gz
llvm-bc173f526c5755d20e584301012b29cc3484b525.tar.bz2
[SimpleLoopUnswitch] Fix overflowing frequencies case
When branch is so hot that sum of its frequencies overflows, we have an assertion failure when trying to construct BranchProbability. Such cases are not interesting as candidate for unswitching anyways (their branches are too hot), so reject them.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h')
0 files changed, 0 insertions, 0 deletions