commit | 463b48ba7eab6d7c96d23b59caea7f25de548293 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Dec 13 07:11:50 2012 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Dec 13 07:11:50 2012 +0000 |
tree | 6b55f8068dd1c79805b0ecfcaadec1b26c8c0946 | |
parent | cdc2e82c317163693c99a8cbef76685e86420395 [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