Mercurial > hg > CbC > CbC_llvm
diff compiler-rt/lib/gwp_asan/common.cpp @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 0572611fdcc8 |
children | 1f2b6ac9f198 |
line wrap: on
line diff
--- a/compiler-rt/lib/gwp_asan/common.cpp Mon May 25 11:55:54 2020 +0900 +++ b/compiler-rt/lib/gwp_asan/common.cpp Tue Jun 08 06:07:14 2021 +0900 @@ -34,10 +34,13 @@ __builtin_trap(); } +constexpr size_t AllocationMetadata::kStackFrameStorageBytes; +constexpr size_t AllocationMetadata::kMaxTraceLengthToCollect; + void AllocationMetadata::RecordAllocation(uintptr_t AllocAddr, size_t AllocSize) { Addr = AllocAddr; - Size = AllocSize; + RequestedSize = AllocSize; IsDeallocated = false; AllocationTrace.ThreadID = getThreadID();