[clang] [LifetimeSafety][NFC] Use one allocator per analyzed function (PR #246490)

Gábor Horváth via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 26 12:02:49 PST 2026


Xazax-hun wrote:

> I looked into it and I think slabs are allocated lazily?

What happened is, if we only generate a handful of facts, all of the individual allocators end up allocating. And if we share them we overall end up with fewer of them. 

https://github.com/llvm/llvm-project/pull/246490


More information about the cfe-commits mailing list