summaryrefslogtreecommitdiff
path: root/lldb/test/Shell/ScriptInterpreter/Python/Inputs/FormatterBytecode/MyOptional.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2024-12-06 10:09:30 +0100
committerGitHub <noreply@github.com>2024-12-06 10:09:30 +0100
commit3eed8479a895253307c6d87a38bb5acf314c6505 (patch)
treef37b77b7539dded3e1ec9bf65b8a42da74d9a9d2 /lldb/test/Shell/ScriptInterpreter/Python/Inputs/FormatterBytecode/MyOptional.cpp
parente9fb0ad21dd3593bf641e4fb0aec6d641cb511f3 (diff)
[profile] Fix bounds checks in profile merging (#118782)
These bounds checks work on the result of the pointer addition -- but the pointer addition already asserts that no overflow may occur, so the checks are optimized away after #118472. Avoid this by performing the addition in a way that permits overflow.
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Python/Inputs/FormatterBytecode/MyOptional.cpp')
0 files changed, 0 insertions, 0 deletions