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

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

Issue 2858723002: allow_posix_link_time_opt and is_cfi are clang features (Closed)
Patch Set: 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 | « no previous file | 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 585a0658d695fdca31f0e625fc2b9b0f69a7c188..f52a18545c8f85506f65a191eb7b5796a35a3d98 100644
--- a/build/config/sanitizers/sanitizers.gni
+++ b/build/config/sanitizers/sanitizers.gni
@@ -55,7 +55,7 @@ declare_args() {
#
# TODO(pcc): Remove this flag if/when CFI is enabled in all official builds.
is_cfi = target_os == "linux" && !is_chromeos && target_cpu == "x64" &&
- is_official_build && allow_posix_link_time_opt
+ is_official_build && allow_posix_link_time_opt && is_clang
krasin1 2017/05/02 19:48:23 allow_posix_link_time is a clang feature. Can you
Mostyn Bramley-Moore 2017/05/02 19:55:34 Thanks- I was testing that change simultaneously i
# Enable checks for bad casts: derived cast and unrelated cast.
# TODO(krasin): remove this, when we're ready to add these checks by default.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698