forked from OSchip/llvm-project
[ubsan] Fix conflict with previous declaration on Mac
llvm-svn: 313572
This commit is contained in:
parent
1aa4ea8104
commit
59a1275be1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue