[compiler-rt] e656b1a - Revert "[scudo] Fix isOwned on MTE devices. (#110717)"

NAKAMURA Takumi via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 2 04:18:49 PDT 2024


Author: NAKAMURA Takumi
Date: 2024-10-02T20:16:36+09:00
New Revision: e656b1a690029b0e4ba8d45f1db9fadfca9cd1b8

URL: https://github.com/llvm/llvm-project/commit/e656b1a690029b0e4ba8d45f1db9fadfca9cd1b8
DIFF: https://github.com/llvm/llvm-project/commit/e656b1a690029b0e4ba8d45f1db9fadfca9cd1b8.diff

LOG: Revert "[scudo] Fix isOwned on MTE devices. (#110717)"

This caused failures in aarch64 builders.

This reverts commit 98c9523113b550eaca3728bf30cbc346af5eff07.
(llvmorg-20-init-7659-g98c9523113b5)

Added: 
    

Modified: 
    compiler-rt/lib/scudo/standalone/combined.h

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/scudo/standalone/combined.h b/compiler-rt/lib/scudo/standalone/combined.h
index 88fdc5943d6f81..a5f1bc388e8824 100644
--- a/compiler-rt/lib/scudo/standalone/combined.h
+++ b/compiler-rt/lib/scudo/standalone/combined.h
@@ -785,8 +785,6 @@ class Allocator {
   // A corrupted chunk will not be reported as owned, which is WAI.
   bool isOwned(const void *Ptr) {
     initThreadMaybe();
-    // If the allocation is not owned, the tags could be wrong.
-    ScopedDisableMemoryTagChecks x;
 #ifdef GWP_ASAN_HOOKS
     if (GuardedAlloc.pointerIsMine(Ptr))
       return true;


        


More information about the llvm-commits mailing list