diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2019-08-06 00:21:30 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2019-08-06 00:21:30 +0000 |
commit | f0380bac5f751c28d429d96c8fac955c448093de (patch) | |
tree | c262aeab550d445b570df119c158cc1ef98e3eff /lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h | |
parent | 15e468e0d5b7c7ac64a387513c9c9115d8875ef8 (diff) | |
download | llvm-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