From be383022c5f6a2514af6a1b82e30810850471d15 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Wed, 1 Dec 2021 13:29:36 -0800 Subject: [PATCH] Removed the explicit define of __SANITIZE_ADDRESS__. This should always be set when `-fsanitize=address` is true, but for some reason this doesn't appear to be happening. --- .bazelrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bazelrc b/.bazelrc index 129dcbf94d..b890fcd138 100644 --- a/.bazelrc +++ b/.bazelrc @@ -6,7 +6,7 @@ build --extra_toolchains=@system_python//:python_toolchain # Use our custom-configured c++ toolchain. build:m32 --copt=-m32 --linkopt=-m32 -build:asan --copt=-fsanitize=address --linkopt=-fsanitize=address --copt=-D__SANITIZE_ADDRESS__=1 +build:asan --copt=-fsanitize=address --linkopt=-fsanitize=address # For Valgrind, we have to disable checks of "possible" leaks because the Python # interpreter does the sorts of things that flag Valgrind "possible" leak checks.