From 6659b10799b287ad815e49c4f1b01abc4369b03d Mon Sep 17 00:00:00 2001 From: Dean Michael Berris Date: Fri, 26 Aug 2016 12:23:20 +0000 Subject: [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 --- lib/ubsan/ubsan_type_hash_itanium.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ubsan/ubsan_type_hash_itanium.cc') 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" -- cgit v1.2.3