mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
Add extra __ubsan failure functions needed to un-break ubsanified builds with gcc 8.
This commit is contained in:
parent
98deefdfea
commit
fe28f100d7
@ -232,6 +232,13 @@ void __ubsan_handle_type_mismatch ( void )
|
||||
vg_assert(0);
|
||||
}
|
||||
|
||||
void __ubsan_handle_type_mismatch_v1 ( void );
|
||||
void __ubsan_handle_type_mismatch_v1 ( void )
|
||||
{
|
||||
VG_(debugLog)(0, "main:ubsan", "In %s", __func__);
|
||||
vg_assert(0);
|
||||
}
|
||||
|
||||
void __ubsan_handle_mul_overflow ( void );
|
||||
void __ubsan_handle_mul_overflow ( void )
|
||||
{
|
||||
@ -267,6 +274,13 @@ void __ubsan_handle_negate_overflow ( void )
|
||||
vg_assert(0);
|
||||
}
|
||||
|
||||
void __ubsan_handle_pointer_overflow ( void );
|
||||
void __ubsan_handle_pointer_overflow ( void )
|
||||
{
|
||||
VG_(debugLog)(0, "main:ubsan", "In %s", __func__);
|
||||
vg_assert(0);
|
||||
}
|
||||
|
||||
void __ubsan_handle_out_of_bounds ( void );
|
||||
void __ubsan_handle_out_of_bounds ( void )
|
||||
{
|
||||
@ -295,6 +309,13 @@ void __ubsan_handle_nonnull_arg ( void )
|
||||
vg_assert(0);
|
||||
}
|
||||
|
||||
void __ubsan_handle_invalid_builtin ( void );
|
||||
void __ubsan_handle_invalid_builtin ( void )
|
||||
{
|
||||
VG_(debugLog)(0, "main:ubsan", "In %s", __func__);
|
||||
vg_assert(0);
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------------*/
|
||||
/*--- end ---*/
|
||||
/*--------------------------------------------------------------------*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user