aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-diff/DifferenceEngine.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-07-28 17:11:36 +0000
committerDan Gohman <gohman@apple.com>2010-07-28 17:11:36 +0000
commit67d0498d533eedab90e5b6399669c420abbde7c6 (patch)
treeb70ccc4024b6cf6a4ef88c9fb0749f33bc479e89 /tools/llvm-diff/DifferenceEngine.cpp
parentdc7a235363166a61e81986c534fe11ceb44109fc (diff)
Do GEP offset calculations with unsigned math rather than signed math
to avoid undefined behavior on overflow, noticed by John Regehr. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109594 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-diff/DifferenceEngine.cpp')
0 files changed, 0 insertions, 0 deletions