ubsan: Emit bounds checks for array indexing, vector indexing, and (in really simple...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 23 Feb 2013 02:53:19 +0000 (02:53 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 23 Feb 2013 02:53:19 +0000 (02:53 +0000)
commit539e4a77bbabbc19f22b2bd24e04af2e432e599d
tree81a3ad82867207c72cd7f2b29ba76b5f00193676
parent0404ec839661c24af48cd49ef055e290cba67a79
ubsan: Emit bounds checks for array indexing, vector indexing, and (in really simple cases) pointer arithmetic. This augments the existing bounds checking with language-level array bounds information.

llvm-svn: 175949
clang/lib/CodeGen/CGExpr.cpp
clang/lib/CodeGen/CGExprScalar.cpp
clang/lib/CodeGen/CodeGenFunction.h
clang/lib/Driver/SanitizerArgs.h
clang/test/CodeGenCXX/catch-undef-behavior.cpp
clang/test/Driver/darwin-sanitizer-ld.c
clang/test/Driver/ubsan-ld.c