From ef06c69c174af3b7c6c91bcda580412f98ace4d8 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 2 May 2019 07:05:29 +0000 Subject: Fix for Windows ...after 5745eccef54ddd3caca278d1d292a88b2281528b "Adapt -fsanitize=function to SANITIZER_NON_UNIQUE_TYPEINFO" git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@359760 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/ubsan/ubsan_type_hash_win.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/ubsan/ubsan_type_hash_win.cc b/lib/ubsan/ubsan_type_hash_win.cc index 21c51e328..c7b2e45af 100644 --- a/lib/ubsan/ubsan_type_hash_win.cc +++ b/lib/ubsan/ubsan_type_hash_win.cc @@ -77,8 +77,7 @@ __ubsan::getDynamicTypeInfoFromVtable(void *VtablePtr) { ""); } -bool __ubsan::checkTypeInfoEquality(const std::type_info *, - const std::type_info *) { +bool __ubsan::checkTypeInfoEquality(const void *, const void *) { return false; } -- cgit v1.2.1