[PATCH] D155604: [BOLT] Calculate input to output address map using BOLTLinker

Job Noorman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 27 02:28:31 PDT 2023


jobnoorman updated this revision to Diff 544658.
jobnoorman added a comment.

Address comments from @maksfb. Major changes:

- Use `DataExtractor` to parse address map
- Add `IsLinkOnly` flag to `BinarySection`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155604/new/

https://reviews.llvm.org/D155604

Files:
  bolt/include/bolt/Core/AddressMap.h
  bolt/include/bolt/Core/BinaryBasicBlock.h
  bolt/include/bolt/Core/BinaryContext.h
  bolt/include/bolt/Core/BinaryFunction.h
  bolt/include/bolt/Core/BinarySection.h
  bolt/lib/Core/AddressMap.cpp
  bolt/lib/Core/BinaryBasicBlock.cpp
  bolt/lib/Core/BinaryEmitter.cpp
  bolt/lib/Core/BinaryFunction.cpp
  bolt/lib/Core/CMakeLists.txt
  bolt/lib/Profile/BoltAddressTranslation.cpp
  bolt/lib/Rewrite/PseudoProbeRewriter.cpp
  bolt/lib/Rewrite/RewriteInstance.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155604.544658.patch
Type: text/x-patch
Size: 17250 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230727/d6869223/attachment.bin>


More information about the llvm-commits mailing list