[PATCH] D132051: [BOLT] Track fragment info for all split fragments

Fabian Parzefall via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 17 11:27:54 PDT 2022


FPar created this revision.
FPar added reviewers: maksfb, yota9, Amir, rafauler.
Herald added a subscriber: ayermolo.
Herald added a project: All.
FPar requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D132051

Files:
  bolt/include/bolt/Core/BinaryFunction.h
  bolt/include/bolt/Core/FunctionLayout.h
  bolt/lib/Core/BinaryFunction.cpp
  bolt/lib/Core/FunctionLayout.cpp
  bolt/lib/Profile/BoltAddressTranslation.cpp
  bolt/lib/Rewrite/RewriteInstance.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132051.453370.patch
Type: text/x-patch
Size: 21825 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220817/e8c8b83a/attachment-0001.bin>


More information about the llvm-commits mailing list