Browse Source

unittests: don't use ASAN_POISON_MEMORY_REGION with gcc

pull/230/head
nillerusr 2 years ago
parent
commit
3fcf986853
  1. 2
      unittests/tier1test/lzsstest.cpp

2
unittests/tier1test/lzsstest.cpp

@ -19,7 +19,7 @@ static void SafeUncompressTests()
unsigned char out[256]; unsigned char out[256];
char poision3[8192]; char poision3[8192];
#ifdef USING_ASAN #if defined( USING_ASAN ) && !defined( COMPILER_GCC )
ASAN_POISON_MEMORY_REGION( poision1, 8192 ); ASAN_POISON_MEMORY_REGION( poision1, 8192 );
ASAN_POISON_MEMORY_REGION( poision2, 8192 ); ASAN_POISON_MEMORY_REGION( poision2, 8192 );
ASAN_POISON_MEMORY_REGION( poision3, 8192 ); ASAN_POISON_MEMORY_REGION( poision3, 8192 );

Loading…
Cancel
Save