aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-12-12 01:27:46 +0000
committerMike Stump <mrs@apple.com>2009-12-12 01:27:46 +0000
commit9c276ae0f24d4cee8f7954069d4b8eae45d0447d (patch)
tree967ccefb7c10869562faaa2dd6f5b9feb43c8ce7 /lib/CodeGen/CodeGenModule.cpp
parent498eb7ece2a5699e215acf071040de27d7882931 (diff)
Implement runtime checks for undefined behavior. WIP.
This implements a new flag -fcatch-undefined-behavior. The flag turns on additional runtime checks for: T a[I]; a[i] abort when i < 0 or i >= I. Future stuff includes shifts by >= bitwidth amounts. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91198 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions