| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Introduce -fsanitize-trap= flag. | Peter Collingbourne | 2015-06-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | This flag controls whether a given sanitizer traps upon detecting an error. It currently only supports UBSan. The existing flag -fsanitize-undefined-trap-on-error has been made an alias of -fsanitize-trap=undefined. This change also cleans up some awkward behavior around the combination of -fsanitize-trap=undefined and -fsanitize=undefined. Previously we would reject command lines containing the combination of these two flags, as -fsanitize=vptr is not compatible with trapping. This required the creation of -fsanitize=undefined-trap, which excluded -fsanitize=vptr (and -fsanitize=function, but this seems like an oversight). Now, -fsanitize=undefined is an alias for -fsanitize=undefined-trap, and if -fsanitize-trap=undefined is specified, we treat -fsanitize=vptr as an "unsupported" flag, which means that we error out if the flag is specified explicitly, but implicitly disable it if the flag was implied by -fsanitize=undefined. Differential Revision: http://reviews.llvm.org/D10464 llvm-svn: 240105 | ||||
| * | Split -fsanitize=bounds to -fsanitize=array-bounds (for the frontend-inserted | Richard Smith | 2013-10-22 | 1 | -8/+11 |
| | | | | | | | | | | | | | | | 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. llvm-svn: 193205 | ||||
| * | PR14306: Move -fbounds-checking to -fsanitize=bounds. | Joey Gouly | 2012-11-23 | 1 | -1/+1 |
| | | | | | llvm-svn: 168510 | ||||
| * | wire -fbounds-checking to the new LLVM bounds checking pass | Nuno Lopes | 2012-05-22 | 1 | -10/+11 |
| | | | | | llvm-svn: 157262 | ||||
| * | revert the usage of the objectsize intrinsic with 3 parameters (to match ↵ | Nuno Lopes | 2012-05-22 | 1 | -4/+4 |
| | | | | | | | LLVM r157255) llvm-svn: 157256 | ||||
| * | update calls to objectsize intrinsic to match LLVM r156473 | Nuno Lopes | 2012-05-09 | 1 | -0/+25 |
| add a test for -fbounds-checking code generation llvm-svn: 156474 | |||||

