commit | 39fe1946c2ee8cf3e7b94207fe8b01d62ae53984 | [log] [tgz] |
---|---|---|
author | Evgenii Stepanov <eugenis@google.com> | Tue Oct 08 23:31:16 2024 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Oct 30 00:19:35 2024 +0000 |
tree | d8a1a99f2bd0f5e23cefbe187f6f42014efb0116 | |
parent | 4678471bc2eb39db4b09ff33933e8a3beda63ae4 [diff] |
Revert^3 "Use -target-feature for MTE" This reverts commit 0feac37f1f21b135889758c4b866bba5de457838. Reason for revert: reapplied to early (cherry picked from https://android-review.googlesource.com/q/commit:159860c848a709cac23ec7d448c6dfa6bfd8781b) Merged-In: I43bf9e11ad021dbad82f6d82163a97a3856e032d Change-Id: I43bf9e11ad021dbad82f6d82163a97a3856e032d
diff --git a/cc/sanitize.go b/cc/sanitize.go index a8722a0..7f52ce1 100644 --- a/cc/sanitize.go +++ b/cc/sanitize.go
@@ -79,7 +79,7 @@ minimalRuntimeFlags = []string{"-fsanitize-minimal-runtime", "-fno-sanitize-trap=integer,undefined", "-fno-sanitize-recover=integer,undefined"} - memtagStackCommonFlags = []string{"-Xclang -target-feature -Xclang +mte"} + memtagStackCommonFlags = []string{"-march=armv8-a+memtag"} memtagStackLlvmFlags = []string{"-dom-tree-reachability-max-bbs-to-explore=128"} hostOnlySanitizeFlags = []string{"-fno-sanitize-recover=all"}