[PATCH] D130052: [BOLT] Support passing fragments to code emission

Fabian Parzefall via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 1 14:46:20 PDT 2022


FPar updated this revision to Diff 449134.
FPar added a comment.

Fix fragment size calculation

Emitting label before switching section led to undefined values.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130052

Files:
  bolt/include/bolt/Core/BinaryEmitter.h
  bolt/include/bolt/Core/BinaryFunction.h
  bolt/include/bolt/Core/FunctionLayout.h
  bolt/lib/Core/BinaryContext.cpp
  bolt/lib/Core/BinaryEmitter.cpp
  bolt/lib/Core/BinaryFunction.cpp
  bolt/lib/Rewrite/RewriteInstance.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130052.449134.patch
Type: text/x-patch
Size: 23118 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220801/d5add748/attachment.bin>


More information about the llvm-commits mailing list