mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-27 22:09:09 +00:00

The BOLT instrumentation runtime uses a bump allocator that has a fixed amount of maximum memory. In some cases, this memory limit is not large enough (https://github.com/llvm/llvm-project/issues/59174). We are hitting this limit when instrumenting the Rust compiler with BOLT. This change increases the memory of the bump allocator used for writing the resulting BOLT profile. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D151891