summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/compound-assign-overflow.c
Commit message (Collapse)AuthorAgeFilesLines
* Reimplement -fsanitize-recover family of flags.Alexey Samsonov2015-01-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Introduce the following -fsanitize-recover flags: - -fsanitize-recover=<list>: Enable recovery for selected checks or group of checks. It is forbidden to explicitly list unrecoverable sanitizers here (that is, "address", "unreachable", "return"). - -fno-sanitize-recover=<list>: Disable recovery for selected checks or group of checks. - -f(no-)?sanitize-recover is now a synonym for -f(no-)?sanitize-recover=undefined,integer and will soon be deprecated. These flags are parsed left to right, and mask of "recoverable" sanitizer is updated accordingly, much like what we do for -fsanitize= flags. -fsanitize= and -fsanitize-recover= flag families are independent. CodeGen change: If there is a single UBSan handler function, responsible for implementing multiple checks, which have different recoverable setting, then we emit two handler calls instead of one: the first one for the set of "unrecoverable" checks, another one - for set of "recoverable" checks. If all checks implemented by a handler have the same recoverability setting, then the generated code will be the same. llvm-svn: 225719
* ubsan: Only emit constants for filenames and type descriptors once.Will Dietz2013-11-081-2/+1
| | | | | | | | Produces neater IR in significantly less time. (~18% faster -O0 compile time for sqlite3 with -fsanitize=undefined) llvm-svn: 194231
* [ubsan] Make static check data non-const so it can be used for deduplication.Will Dietz2013-01-091-3/+3
| | | | llvm-svn: 171947
* CodeGen/compound-assign-overflow.c: include stdint.h in freestanding modeDmitri Gribenko2013-01-081-1/+1
| | | | | | This hopefully fixes the ARM buildbot. llvm-svn: 171853
* [ubsan] Use correct type for compound assignment ops.Will Dietz2013-01-071-0/+36
llvm-svn: 171801
OpenPOWER on IntegriCloud