Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Unified Diff: build/config/sanitizers/sanitizers.gni

Issue 2843773003: Add a GN flag to allow sanitizer builds with full debugging symbols. (Closed)
Patch Set: rename flag Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/sanitizers/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/sanitizers/sanitizers.gni
diff --git a/build/config/sanitizers/sanitizers.gni b/build/config/sanitizers/sanitizers.gni
index 6feef783ad90f6cbc25fa4f27f425b646765af1a..585a0658d695fdca31f0e625fc2b9b0f69a7c188 100644
--- a/build/config/sanitizers/sanitizers.gni
+++ b/build/config/sanitizers/sanitizers.gni
@@ -97,6 +97,12 @@ declare_args() {
# Default value when unset and use_sanitizer_coverage=true:
# edge,indirect-calls,8bit-counters
sanitizer_coverage_flags = ""
+
+ # Keep symbol level when building with sanitizers. When sanitizers are
+ # enabled, the default is to compile with the minimum debug info level
+ # necessary, overriding any other symbol level arguments that may be set.
+ # Setting this to true prevents this.
+ sanitizer_keep_symbols = false
}
# Disable sanitizers for non-default toolchains.
« no previous file with comments | « build/config/sanitizers/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698