[llvm] [BOLT] Add option instrumentation-max-size for bump allocator (PR #174716)

YongKang Zhu via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 8 00:12:37 PST 2026


================
@@ -1663,7 +1665,7 @@ extern "C" void __attribute((force_align_arg_pointer)) __bolt_instr_setup() {
 
   GlobalAlloc = new (GlobalMetadataStorage) BumpPtrAllocator;
   // Conservatively reserve 100MiB
----------------
yozhu wrote:

Maybe update this comment now that we use an option to set max memory size for the allocator

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


More information about the llvm-commits mailing list