Skip to content

Commit 3fcf986

Browse files
committed
unittests: don't use ASAN_POISON_MEMORY_REGION with gcc
1 parent b2d168c commit 3fcf986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unittests/tier1test/lzsstest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ static void SafeUncompressTests()
1919
unsigned char out[256];
2020
char poision3[8192];
2121

22-
#ifdef USING_ASAN
22+
#if defined( USING_ASAN ) && !defined( COMPILER_GCC )
2323
ASAN_POISON_MEMORY_REGION( poision1, 8192 );
2424
ASAN_POISON_MEMORY_REGION( poision2, 8192 );
2525
ASAN_POISON_MEMORY_REGION( poision3, 8192 );

0 commit comments

Comments
 (0)