[PATCH] D124135: [scudo] Disable memory tagging on arm64_32
Dominic Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 21 17:22:28 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rGfcbca197f2e6: [scudo] Disable memory tagging on arm64_32 (authored by ddcc).
Changed prior to commit:
https://reviews.llvm.org/D124135?vs=424309&id=424342#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124135/new/
https://reviews.llvm.org/D124135
Files:
compiler-rt/lib/scudo/standalone/memtag.h
Index: compiler-rt/lib/scudo/standalone/memtag.h
===================================================================
--- compiler-rt/lib/scudo/standalone/memtag.h
+++ compiler-rt/lib/scudo/standalone/memtag.h
@@ -18,7 +18,8 @@
namespace scudo {
-#if (__clang_major__ >= 12 && defined(__aarch64__)) || defined(SCUDO_FUZZ)
+#if (__clang_major__ >= 12 && defined(__aarch64__) && !defined(__ILP32__)) || \
+ defined(SCUDO_FUZZ)
// We assume that Top-Byte Ignore is enabled if the architecture supports memory
// tagging. Not all operating systems enable TBI, so we only claim architectural
@@ -57,7 +58,7 @@
#endif
-#if __clang_major__ >= 12 && defined(__aarch64__)
+#if __clang_major__ >= 12 && defined(__aarch64__) && !defined(__ILP32__)
#if SCUDO_LINUX
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124135.424342.patch
Type: text/x-patch
Size: 775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220422/cfd2b0ed/attachment.bin>
More information about the llvm-commits
mailing list