[compiler-rt] [scudo] Move the chunk update into functions (PR #83493)

via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 18 15:52:05 PDT 2024


================
@@ -1225,6 +1268,36 @@ class Allocator {
     }
   }
 
+  NOINLINE void *reTagBlock(const Options &Options, void *TaggedPtr,
+                            void *HeaderTaggedPtr,
+                            Chunk::UnpackedHeader *Header, const uptr Size,
+                            bool BypassQuarantine) {
+    DCHECK(useMemoryTagging<AllocatorConfig>(Options));
+    void *Ptr = HeaderTaggedPtr;
----------------
ChiaHungDuan wrote:

Done

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


More information about the llvm-commits mailing list