summaryrefslogtreecommitdiff
path: root/test/CodeGen/bounds-checking.c
Commit message (Collapse)AuthorAge
* Split -fsanitize=bounds to -fsanitize=array-bounds (for the frontend-insertedRichard Smith2013-10-22
| | | | | | | | | | | | | | | check using the ubsan runtime) and -fsanitize=local-bounds (for the middle-end check which inserts traps). Remove -fsanitize=local-bounds from -fsanitize=undefined. It does not produce useful diagnostics and has false positives (PR17635), and is not a good compromise position between UBSan's checks and ASan's checks. Map -fbounds-checking to -fsanitize=local-bounds to restore Clang's historical behavior for that flag. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193205 91177308-0d34-0410-b5e6-96231b3b80d8
* PR14306: Move -fbounds-checking to -fsanitize=bounds.Joey Gouly2012-11-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168510 91177308-0d34-0410-b5e6-96231b3b80d8
* wire -fbounds-checking to the new LLVM bounds checking passNuno Lopes2012-05-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157262 91177308-0d34-0410-b5e6-96231b3b80d8
* revert the usage of the objectsize intrinsic with 3 parameters (to match ↵Nuno Lopes2012-05-22
| | | | | | LLVM r157255) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157256 91177308-0d34-0410-b5e6-96231b3b80d8
* update calls to objectsize intrinsic to match LLVM r156473Nuno Lopes2012-05-09
add a test for -fbounds-checking code generation git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156474 91177308-0d34-0410-b5e6-96231b3b80d8