Index: build/config/sanitizers/BUILD.gn |
diff --git a/build/config/sanitizers/BUILD.gn b/build/config/sanitizers/BUILD.gn |
index 845d992d6edd1c4e44c713fa1c9234f29179f79e..2a6c578bcbd9c5a470cb2f8700eb0b264c8ae9b7 100644 |
--- a/build/config/sanitizers/BUILD.gn |
+++ b/build/config/sanitizers/BUILD.gn |
@@ -385,6 +385,10 @@ config("cfi_flags") { |
] |
} |
+ if (use_cfi_icall) { |
+ cflags += [ "-fsanitize=cfi-icall" ] |
+ } |
+ |
if (use_cfi_diag) { |
cflags += [ |
"-fno-sanitize-trap=cfi", |