diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-12-13 07:11:50 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-12-13 07:11:50 +0000 |
| commit | 463b48ba7eab6d7c96d23b59caea7f25de548293 (patch) | |
| tree | 6b55f8068dd1c79805b0ecfcaadec1b26c8c0946 /lib/CodeGen/CGExprAgg.cpp | |
| parent | cdc2e82c317163693c99a8cbef76685e86420395 (diff) | |
| download | clang-463b48ba7eab6d7c96d23b59caea7f25de548293.tar.gz clang-463b48ba7eab6d7c96d23b59caea7f25de548293.tar.bz2 clang-463b48ba7eab6d7c96d23b59caea7f25de548293.tar.xz | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170108 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions
