mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-23 19:06:11 -05:00
update wil to 0b2d6c2d822bb301e7558a14ee66d567c14f5dc7
This commit is contained in:
12
Externals/WIL/tests/main.cpp
vendored
12
Externals/WIL/tests/main.cpp
vendored
@@ -6,3 +6,15 @@
|
||||
|
||||
#define CATCH_CONFIG_MAIN
|
||||
#include "catch.hpp"
|
||||
|
||||
#if WITEST_ADDRESS_SANITIZER
|
||||
extern "C" __declspec(dllexport)
|
||||
const char* __asan_default_options()
|
||||
{
|
||||
return
|
||||
// Tests validate OOM, so this is expected
|
||||
"allocator_may_return_null=1"
|
||||
// Some structs in Windows have dynamic size where we over-allocate for extra data past the end
|
||||
":new_delete_type_mismatch=0";
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user