[llvm] [llvm][docs] MemTagSanitizer is only supported on AArch64 Android (PR #120545)

Florian Mayer via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 19 03:55:27 PST 2024


================
@@ -29,9 +29,9 @@ Usage
 =====
 
 Compile and link your program with ``-fsanitize=memtag`` flag. This
-will only work when targeting AArch64 with MemTag extension. One
+will only work when targeting AArch64 Android with MemTag extension. One
 possible way to achieve that is to add ``-target
-aarch64-linux -march=armv8+memtag`` to compilation flags.
+aarch64-linux-android -march=armv8+memtag`` to compilation flags.
----------------
fmayer wrote:

should we mention `-target-feature` (`-Xclang -target-feature -Xclang +mte`)?

https://github.com/llvm/llvm-project/pull/120545


More information about the llvm-commits mailing list