summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2022-11-15 11:09:41 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2022-11-21 13:24:44 +0000
commit77b1780b06153db6abcc05bb78ce69100a91c28c (patch)
tree9e828c2b56dd9863632b00372486f81bce981e26
parent5ce45ac7f1b665603e03899e062bd0f61dfa07dd (diff)
downloadqtwebengine-chromium-77b1780b06153db6abcc05bb78ce69100a91c28c.tar.gz
Disable advanced arm64 control-flow
We don't necessarily support these instructions. Change-Id: I6f64b2dea837c99050fbc150f651239f4743ab11 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/443465 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
-rw-r--r--chromium/build/config/arm.gni3
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/build/config/arm.gni b/chromium/build/config/arm.gni
index 3cd6d87cbf6..10295c2c001 100644
--- a/chromium/build/config/arm.gni
+++ b/chromium/build/config/arm.gni
@@ -4,6 +4,7 @@
import("//build/config/chromeos/ui_mode.gni")
import("//build/config/v8_target_cpu.gni")
+import("//ui/qt/qt.gni")
# These are primarily relevant in current_cpu == "arm" contexts, where
# ARM code is being compiled. But they can also be relevant in the
@@ -140,7 +141,7 @@ if (current_cpu == "arm" || v8_current_cpu == "arm") {
arm_control_flow_integrity = "standard"
# TODO(cavalcantii): enable the feature for the following OSes next.
- if (is_mac || is_chromeos || is_fuchsia || is_win ||
+ if (is_mac || is_chromeos || is_fuchsia || is_win || use_qt ||
target_cpu != "arm64") {
# target_cpu != "arm64" covers some cases (e.g. the ChromeOS x64 MSAN
# build) where the target platform is x64, but V8 is configured to use