| Index: base/debug/asan_invalid_access.h
|
| diff --git a/base/debug/asan_invalid_access.h b/base/debug/asan_invalid_access.h
|
| index 65519878f12a707fe67d04826917d0cdf613fcd5..839a13930ae0ea806785b809d3386c6f5f0ac5a5 100644
|
| --- a/base/debug/asan_invalid_access.h
|
| +++ b/base/debug/asan_invalid_access.h
|
| @@ -29,7 +29,7 @@ BASE_EXPORT NOINLINE void AsanHeapUseAfterFree();
|
|
|
| // The "corrupt-block" and "corrupt-heap" classes of bugs is specific to
|
| // SyzyASan.
|
| -#if defined(SYZYASAN)
|
| +#if defined(SYZYASAN) && defined(COMPILER_MSVC)
|
|
|
| // Corrupts a memory block and makes sure that the corruption gets detected when
|
| // we try to free this block.
|
|
|