mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
disable LeakSanitizer for unit.dbug test
This commit is contained in:
@@ -86,3 +86,11 @@ int main (int argc __attribute__((unused)),
|
||||
return 0;
|
||||
#endif /* DBUG_OFF */
|
||||
}
|
||||
|
||||
#ifdef __SANITIZE_ADDRESS__
|
||||
/* Disable LeakSanitizer in this executable */
|
||||
const char* __asan_default_options()
|
||||
{
|
||||
return "detect_leaks=0";
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user