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;