[all-commits] [llvm/llvm-project] 9b6e78: [BOLT] Track fragment info for all split fragments

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


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

  Changed paths:
    M bolt/include/bolt/Core/BinaryFunction.h
    M bolt/include/bolt/Core/FunctionLayout.h
    M bolt/lib/Core/BinaryFunction.cpp
    M bolt/lib/Core/FunctionLayout.cpp
    M bolt/lib/Profile/BoltAddressTranslation.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp

  Log Message:
  -----------
  [BOLT] Track fragment info for all split fragments

To generate all symbols correctly, it is necessary to record the address
of each fragment. This patch moves the address info for the main and
cold fragments from BinaryFunction to FunctionFragment, where this data
is recorded for all fragments.

Reviewed By: rafauler

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




More information about the All-commits mailing list