diff options
Diffstat (limited to 'compiler-rt/lib/scudo/standalone/chunk.h')
| -rw-r--r-- | compiler-rt/lib/scudo/standalone/chunk.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler-rt/lib/scudo/standalone/chunk.h b/compiler-rt/lib/scudo/standalone/chunk.h index ec0b0ee8b21..76ef661b0dc 100644 --- a/compiler-rt/lib/scudo/standalone/chunk.h +++ b/compiler-rt/lib/scudo/standalone/chunk.h @@ -97,12 +97,6 @@ const AtomicPackedHeader *getConstAtomicHeader(const void *Ptr) { reinterpret_cast<uptr>(Ptr) - getHeaderSize()); } -INLINE void *getBlockBegin(const void *Ptr, UnpackedHeader *Header) { - return reinterpret_cast<void *>(reinterpret_cast<uptr>(Ptr) - - getHeaderSize() - - (Header->Offset << SCUDO_MIN_ALIGNMENT_LOG)); -} - // We do not need a cryptographically strong hash for the checksum, but a CRC // type function that can alert us in the event a header is invalid or // corrupted. Ideally slightly better than a simple xor of all fields. |

