[ubsan] Try to fix Windows
This commit is contained in:
@@ -908,14 +908,17 @@ extern "C" void __ubsan_handle_cfi_bad_type_default(CFICheckFailData *Data,
|
||||
}
|
||||
|
||||
WIN_WEAK_ALIAS(__ubsan_handle_cfi_bad_type, __ubsan_handle_cfi_bad_type_default)
|
||||
#endif
|
||||
void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable,
|
||||
bool ValidVtable, ReportOptions Opts);
|
||||
#else
|
||||
SANITIZER_WEAK_ATTRIBUTE
|
||||
void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable,
|
||||
bool ValidVtable, ReportOptions Opts) {
|
||||
Die();
|
||||
}
|
||||
#endif
|
||||
|
||||
} // namespace __ubsan
|
||||
} // namespace __ubsan
|
||||
|
||||
void __ubsan::__ubsan_handle_cfi_check_fail(CFICheckFailData *Data,
|
||||
ValueHandle Value,
|
||||
|
||||
Reference in New Issue
Block a user