Index: build/config/sanitizers/BUILD.gn |
diff --git a/build/config/sanitizers/BUILD.gn b/build/config/sanitizers/BUILD.gn |
index 4b96dd446c1f3d3431ab2bc5485dfcb1e89aca05..73bafa9891c858cab0a14a595a32cf9ebf99784a 100644 |
--- a/build/config/sanitizers/BUILD.gn |
+++ b/build/config/sanitizers/BUILD.gn |
@@ -231,7 +231,14 @@ config("common_sanitizer_flags") { |
# or variable info, so we can leave that out to speed up the build. |
if (using_sanitizer) { |
assert(is_clang, "sanitizers only supported with clang") |
- cflags += [ "-gline-tables-only" ] |
+ cflags += [ |
+ "-gline-tables-only", |
+ |
+ # Column info in debug data confuses Visual Studio's debugger, so don't |
+ # use this by default. However, clusterfuzz needs it for good attribution |
+ # of reports to CLs, so turn it on there. |
+ "-gcolumn-info", |
+ ] |
} |
# Common options for AddressSanitizer, LeakSanitizer, ThreadSanitizer, |