Skip to content

Commit 2d568dd

Browse files
chapuniSterling-Augustine
authored andcommitted
Revert "[scudo] Fix isOwned on MTE devices. (llvm#110717)"
This caused failures in aarch64 builders. This reverts commit 98c9523. (llvmorg-20-init-7659-g98c9523113b5)
1 parent 56751d2 commit 2d568dd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -785,8 +785,6 @@ class Allocator {
785785
// A corrupted chunk will not be reported as owned, which is WAI.
786786
bool isOwned(const void *Ptr) {
787787
initThreadMaybe();
788-
// If the allocation is not owned, the tags could be wrong.
789-
ScopedDisableMemoryTagChecks x;
790788
#ifdef GWP_ASAN_HOOKS
791789
if (GuardedAlloc.pointerIsMine(Ptr))
792790
return true;

0 commit comments

Comments
 (0)