[ubsan] Fix conflict with previous declaration on Mac

llvm-svn: 313572
This commit is contained in:
Vitaly Buka 2017-09-18 21:35:49 +00:00
parent 1aa4ea8104
commit 59a1275be1
1 changed files with 2 additions and 3 deletions

View File

@ -672,9 +672,8 @@ void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable,
bool ValidVtable, ReportOptions Opts);
#else
static void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data,
ValueHandle Vtable,
bool ValidVtable, ReportOptions Opts) {
void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable,
bool ValidVtable, ReportOptions Opts) {
Die();
}
#endif