diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-10-22 22:51:04 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-10-22 22:51:04 +0000 |
| commit | 6b53e224ebcd0b99be4db9fc12e9d080c69c04b9 (patch) | |
| tree | 04b05b8af1551a91587247f9f9fcc1a03f524f18 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 106260c5746ab00e12ef3df483c438484279d5f4 (diff) | |
Split -fsanitize=bounds to -fsanitize=array-bounds (for the frontend-inserted
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
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
