diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-12-13 07:00:14 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-12-13 07:00:14 +0000 |
commit | 32952215b6c304a3858c9c8a74e84880b7bc9c34 (patch) | |
tree | 6c8844455a2e9c94c31bfa2ea44c4d154664a70a /clang/test/CodeGenCXX/catch-undef-behavior.cpp | |
parent | a1bbeeca72f0d9db2a3ea72f2b72063f20e8bf95 (diff) | |
download | bcm5719-llvm-32952215b6c304a3858c9c8a74e84880b7bc9c34.tar.gz bcm5719-llvm-32952215b6c304a3858c9c8a74e84880b7bc9c34.zip |
ubsan: Add -fsanitize=bool and -fsanitize=enum, which check for loads of
bit-patterns which are not valid values for enumerated or boolean types.
These checks are the ubsan analogue of !range metadata.
llvm-svn: 170107
Diffstat (limited to 'clang/test/CodeGenCXX/catch-undef-behavior.cpp')
0 files changed, 0 insertions, 0 deletions