search for: deallocatecustomsizedslab

Displaying 1 result from an estimated 1 matches for "deallocatecustomsizedslab".

2015 May 11
2
[LLVMdev] Bug in Support/Allocator.h
Hi, llvm::BumpPtrAllocatorImpl::Reset() looks like it has a bug. There is this check at the top: if (Slabs.empty()) return; But what if you don't have any normal Slabs allocated but only CustomSizedSlabs. I think this should be: if (Slabs.empty() && CustomSizedSlabs.empty()) return;