summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-05-02 07:05:29 +0000
committerStephan Bergmann <sbergman@redhat.com>2019-05-02 07:05:29 +0000
commitef06c69c174af3b7c6c91bcda580412f98ace4d8 (patch)
tree415a54bae34175973a37586f39b72b9fb8c955b4
parentd139bd8e458debdc7392d1042a74d0bc335ac856 (diff)
downloadcompiler-rt-ef06c69c174af3b7c6c91bcda580412f98ace4d8.tar.gz
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
-rw-r--r--lib/ubsan/ubsan_type_hash_win.cc3
1 files changed, 1 insertions, 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) {
"<unknown>");
}
-bool __ubsan::checkTypeInfoEquality(const std::type_info *,
- const std::type_info *) {
+bool __ubsan::checkTypeInfoEquality(const void *, const void *) {
return false;
}