diff options
Diffstat (limited to 'contrib/llvm-project/compiler-rt/lib/scudo/standalone/chunk.h')
-rw-r--r-- | contrib/llvm-project/compiler-rt/lib/scudo/standalone/chunk.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/llvm-project/compiler-rt/lib/scudo/standalone/chunk.h b/contrib/llvm-project/compiler-rt/lib/scudo/standalone/chunk.h index f4d68b3ac6c4..69b8e1b12a91 100644 --- a/contrib/llvm-project/compiler-rt/lib/scudo/standalone/chunk.h +++ b/contrib/llvm-project/compiler-rt/lib/scudo/standalone/chunk.h @@ -65,7 +65,8 @@ typedef u64 PackedHeader; struct UnpackedHeader { uptr ClassId : 8; u8 State : 2; - u8 Origin : 2; + // Origin if State == Allocated, or WasZeroed otherwise. + u8 OriginOrWasZeroed : 2; uptr SizeOrUnusedBytes : 20; uptr Offset : 16; uptr Checksum : 16; |