[llvm] [MTE][Darwin] This patch extends support for the stack frame history buffer to Darwin. (PR #178049)
Dan Blackwell via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 27 05:49:39 PST 2026
================
@@ -321,9 +340,15 @@ Value *incrementThreadLong(IRBuilder<> &IRB, Value *ThreadLong,
// 0x01AAAAAAAAAAA000
//
// Then the WrapMask will be a no-op until the next wrap case.
+ //
+ // Darwin relies on bit 60-62 to store the size of the buffer in pages. This
+ // limits N to [0,2] while the rest of the proof remains the same. Bits 60-62
----------------
DanBlackwell wrote:
NIT: seems like this is really 'Bits 56-59 are avoided in order to prevent canonical tag faults'
https://github.com/llvm/llvm-project/pull/178049
More information about the llvm-commits
mailing list