aboutsummaryrefslogtreecommitdiff
path: root/lib/Basic/Targets.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-12-13 07:11:50 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-12-13 07:11:50 +0000
commit463b48ba7eab6d7c96d23b59caea7f25de548293 (patch)
tree6b55f8068dd1c79805b0ecfcaadec1b26c8c0946 /lib/Basic/Targets.cpp
parentcdc2e82c317163693c99a8cbef76685e86420395 (diff)
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/Basic/Targets.cpp')
0 files changed, 0 insertions, 0 deletions