Index: build/config/sanitizers/sanitizers.gni |
diff --git a/build/config/sanitizers/sanitizers.gni b/build/config/sanitizers/sanitizers.gni |
index d5374e1a0ffb83f6b019d14e05f0f65c910da7b7..5217a74168ba1c618db85acb4609bd479108a764 100644 |
--- a/build/config/sanitizers/sanitizers.gni |
+++ b/build/config/sanitizers/sanitizers.gni |
@@ -22,6 +22,13 @@ declare_args() { |
# errors. Only works on Windows. See |
# https://code.google.com/p/sawbuck/wiki/SyzyASanHowTo |
is_syzyasan = false |
+ |
+ # Compile with Control Flow Integrity to protect virtual calls and casts. |
+ # See http://clang.llvm.org/docs/ControlFlowIntegrity.html |
+ is_cfi = false |
+ |
+ # Whether Control Flow Integrity prints diagnostics instead of crashing. |
brettw
2015/09/10 23:16:34
Can you rephrase this comment to make more clear w
pcc
2015/09/11 02:38:56
Done.
|
+ use_cfi_diag = false |
} |
# MSan only links Chrome properly in release builds (brettw -- 9/1/2015). The |