diff options
author | 2025-03-13 09:54:35 -0700 | |
---|---|---|
committer | 2025-03-13 09:54:35 -0700 | |
commit | 766ebc3625da7ff8867f24e8c56a360ea8f81a4d (patch) | |
tree | e391abbaf0c2058a5e9f48de599ab49c680ebff3 /cc | |
parent | 94c261bcb01e2ae05121c171592de5b502953793 (diff) | |
parent | 8b2e14f17c805f29a5ac20f66baa372de2a5bf7e (diff) |
Merge "Use -target-feature for MTE" into main
Diffstat (limited to 'cc')
-rw-r--r-- | cc/sanitize.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/sanitize.go b/cc/sanitize.go index db99a5327..b704ef4bf 100644 --- a/cc/sanitize.go +++ b/cc/sanitize.go @@ -79,7 +79,7 @@ var ( minimalRuntimeFlags = []string{"-fsanitize-minimal-runtime", "-fno-sanitize-trap=integer,undefined", "-fno-sanitize-recover=integer,undefined"} - memtagStackCommonFlags = []string{"-march=armv8-a+memtag"} + memtagStackCommonFlags = []string{"-Xclang -target-feature -Xclang +mte"} memtagStackLlvmFlags = []string{"-dom-tree-reachability-max-bbs-to-explore=128"} hostOnlySanitizeFlags = []string{"-fno-sanitize-recover=all"} |