aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2020-06-01 14:23:04 -0700
committerAdrian Prantl <aprantl@apple.com>2020-06-01 18:11:50 -0700
commita0b674fd7f06b86241cf19387313b508248a3868 (patch)
treec86411dd29586469d1faea436e22782e3074b1bc /clang/lib/Frontend/CompilerInvocation.cpp
parenta66e1d2aa943959e158821be8956109cb5ef3b3b (diff)
downloadllvm-a0b674fd7f06b86241cf19387313b508248a3868.zip
llvm-a0b674fd7f06b86241cf19387313b508248a3868.tar.gz
llvm-a0b674fd7f06b86241cf19387313b508248a3868.tar.bz2
Fix UB in EmulateInstructionARM64.cpp
This fixes an unhandled signed integer overflow in AddWithCarry() by using the llvm::checkedAdd() function. Thats to Vedant Kumar for the suggestion! <rdar://problem/60926115> Differential Revision: https://reviews.llvm.org/D80955
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions