[all-commits] [llvm/llvm-project] 07f63b: [BOLT] Allocate FunctionFragment on heap

Fabian Parzefall via All-commits all-commits at lists.llvm.org
Wed Aug 24 18:06:59 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 07f63b0ac5c530c808420971734b36b8fa79e687
      https://github.com/llvm/llvm-project/commit/07f63b0ac5c530c808420971734b36b8fa79e687
  Author: Fabian Parzefall <parzefall at fb.com>
  Date:   2022-08-24 (Wed, 24 Aug 2022)

  Changed paths:
    M bolt/include/bolt/Core/BinaryEmitter.h
    M bolt/include/bolt/Core/FunctionLayout.h
    M bolt/lib/Core/BinaryContext.cpp
    M bolt/lib/Core/BinaryEmitter.cpp
    M bolt/lib/Core/BinaryFunction.cpp
    M bolt/lib/Core/Exceptions.cpp
    M bolt/lib/Core/FunctionLayout.cpp
    M bolt/lib/Passes/BinaryPasses.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp

  Log Message:
  -----------
  [BOLT] Allocate FunctionFragment on heap

This changes `FunctionFragment` from being used as a temporary proxy
object to access basic block ranges to a heap-allocated object that can
store fragment-specific information.

Reviewed By: rafauler

Differential Revision: https://reviews.llvm.org/D132050




More information about the All-commits mailing list