diff options
author | Dean Michael Berris <dberris@google.com> | 2016-08-26 12:23:20 +0000 |
---|---|---|
committer | Dean Michael Berris <dberris@google.com> | 2016-08-26 12:23:20 +0000 |
commit | 6659b10799b287ad815e49c4f1b01abc4369b03d (patch) | |
tree | bbb8b1ccd363d91a1e4baea9bb73c9734a4898de /lib/ubsan/ubsan_type_hash_itanium.cc | |
parent | 403c24eb3557e96900db521b710391fc1e1dca31 (diff) |
[compiler-rt] Allow c++ abi to be explictly disabled in cmake configuration
Summary: This will allow for the sanitizers to be used when c++ abi is unavailable.
Reviewers: samsonov, beanz, pcc, rnk
Subscribers: llvm-commits, kubabrecka, compnerd, dberris
Differential Revision: https://reviews.llvm.org/D23376
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@279816 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ubsan/ubsan_type_hash_itanium.cc')
-rw-r--r-- | lib/ubsan/ubsan_type_hash_itanium.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ubsan/ubsan_type_hash_itanium.cc b/lib/ubsan/ubsan_type_hash_itanium.cc index 26272e336..f5b3cca5b 100644 --- a/lib/ubsan/ubsan_type_hash_itanium.cc +++ b/lib/ubsan/ubsan_type_hash_itanium.cc @@ -13,7 +13,7 @@ #include "sanitizer_common/sanitizer_platform.h" #include "ubsan_platform.h" -#if CAN_SANITIZE_UB && !SANITIZER_WINDOWS +#if CAN_SANITIZE_UB && UBSAN_CAN_USE_CXXABI #include "ubsan_type_hash.h" #include "sanitizer_common/sanitizer_common.h" |