================ @@ -335,14 +331,11 @@ class BumpPtrAllocatorImpl /// Custom-sized slabs allocated for too-large allocation requests. SmallVector<std::pair<void *, size_t>, 0> CustomSizedSlabs; - /// How many bytes we've allocated. - /// - /// Used so that we can compute how much space was wasted. - size_t BytesAllocated = 0; - +#if LLVM_ADDRESS_SANITIZER_BUILD ---------------- MaskRay wrote:
Good catch. Gated member presence on LLVM_ENABLE_ABI_BREAKING_CHECKS and the variable use on both conditions. https://github.com/llvm/llvm-project/pull/205711 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
