[all-commits] [llvm/llvm-project] eaf1b5: Increase memory of BOLT runtime instrumentation bu...

Jakub Beránek via All-commits all-commits at lists.llvm.org
Thu Jun 8 10:53:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eaf1b5664b0c4fecf992c7385caad56fdb00d18c
      https://github.com/llvm/llvm-project/commit/eaf1b5664b0c4fecf992c7385caad56fdb00d18c
  Author: Jakub Beránek <berykubik at gmail.com>
  Date:   2023-06-08 (Thu, 08 Jun 2023)

  Changed paths:
    M bolt/runtime/instr.cpp

  Log Message:
  -----------
  Increase memory of BOLT runtime instrumentation bump allocator used for writing resulting profile

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




More information about the All-commits mailing list