aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2019-08-06 00:21:30 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2019-08-06 00:21:30 +0000
commitf0380bac5f751c28d429d96c8fac955c448093de (patch)
treec262aeab550d445b570df119c158cc1ef98e3eff /lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h
parent15e468e0d5b7c7ac64a387513c9c9115d8875ef8 (diff)
downloadllvm-f0380bac5f751c28d429d96c8fac955c448093de.zip
llvm-f0380bac5f751c28d429d96c8fac955c448093de.tar.gz
llvm-f0380bac5f751c28d429d96c8fac955c448093de.tar.bz2
Silence ubsan after r367926.
Fixes e.g. http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap-ubsan/builds/14273 We can't left shift here because left shifting of a negative number is UB. The same doesn't apply to unsigned arithmetic, but switching to unsigned doesn't appear to stop ubsan from complaining, so we need to mask out the high bits. llvm-svn: 367959
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h')
0 files changed, 0 insertions, 0 deletions