disable ASAN for clang (need to figure out how to locate LLVM DLL)

This commit is contained in:
Nikita Smith
2026-04-15 15:32:51 -07:00
parent 4eee46764e
commit 7872ba5542
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -24,10 +24,10 @@ for %%c in (%CC_VALUES%) do for %%m in (%MODE_VALUES%) do (
) )
rem clang does not compile with asan in release mode because it runs out of memory rem clang does not compile with asan in release mode because it runs out of memory
if "%%c::%%m" neq "clang::release" ( if "%%c" equ "clang" (
call build.bat meta %%c %%m %TARGET_VALUES% || exit /b 1 call build.bat meta %%c %%m %TARGET_VALUES% || exit /b 1
) else ( ) else (
call build.bat asan meta %%c %%m %TARGET_VALUES% || exit /b 1 call build.bat meta asan %%c %%m %TARGET_VALUES% || exit /b 1
) )
pushd build pushd build
+4
View File
@@ -1,6 +1,9 @@
#define T_Group "p2r" #define T_Group "p2r"
#if OS_WINDOWS #if OS_WINDOWS
// TODO: location is not baked consistently
#if !COMPILER_CLANG || (COMPILER_CLANG && BUILD_DEBUG)
T_BeginTest(p2r_determ) T_BeginTest(p2r_determ)
{ {
U64 num_repeats_per_pdb = 32; U64 num_repeats_per_pdb = 32;
@@ -118,6 +121,7 @@ T_BeginTest(p2r_determ)
} }
} }
#endif #endif
#endif
#undef T_Group #undef T_Group