Vedant Kumar 4593a46cd9 [ubsan] Treat ObjC's BOOL as if its range is always {0, 1}
On some Apple platforms, the ObjC BOOL type is defined as a signed char.
When performing instrumentation for -fsanitize=bool, we'd like to treat
the range of BOOL like it's always {0, 1}. While we can't change clang's
IRGen for char-backed BOOL's due to ABI compatibility concerns, we can
teach ubsan to catch potential abuses of this type.

rdar://problem/29502773

Differential Revision: https://reviews.llvm.org/D27607

llvm-svn: 289290
2016-12-09 23:48:18 +00:00
..
2014-03-29 15:09:45 +00:00
2015-05-15 18:33:32 +00:00
2014-02-16 07:28:32 +00:00
2014-11-06 13:30:38 +00:00
2013-12-03 14:46:31 +00:00
2014-03-29 15:09:45 +00:00