aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2022-01-25 13:29:22 -0800
committerAdrian Prantl <aprantl@apple.com>2022-01-26 10:57:11 -0800
commit216002c4bb708e6d6fd1895c8ea636470961f824 (patch)
treea951ec1e086486f4db4d2cc641e507bbde08b1bc /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parente6564f39c787d6aa06ad5573e55db3439ed3a263 (diff)
downloadllvm-216002c4bb708e6d6fd1895c8ea636470961f824.zip
llvm-216002c4bb708e6d6fd1895c8ea636470961f824.tar.gz
llvm-216002c4bb708e6d6fd1895c8ea636470961f824.tar.bz2
Fix UB in DwarfExpression::emitLegacyZExt()
A shift-left > 63 triggers a UBSAN failure. This patch kicks the can down the road (to the consumer) by emitting a more compact representation of the shift computation in DWARF expressions. Differential Revision: https://reviews.llvm.org/D118183
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions