Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index d8e60f182335a6007d2cea3c3ecede989ec27f01..cdcc0d3f5fc7e8b88243bf9ab4407de08a7734ed 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -5060,6 +5060,13 @@ |
'AdditionalOptions': [ |
'-fsanitize=address', |
], |
+ 'AdditionalIncludeDirectories': [ |
+ # MSVC needs to be able to find the sanitizer headers when |
+ # invoked via /fallback. This is critical for using macros |
+ # like ASAN_UNPOISON_MEMORY_REGION in files where we fall |
+ # back. |
+ '<(DEPTH)/<(make_clang_dir)/lib/clang/3.5.0/include_sanitizer', |
+ ], |
}, |
'VCLinkerTool': { |
'AdditionalLibraryDirectories': [ |