[PATCH] D153215: [Object] Add ELF section type SHT_LLVM_BITCODE for LLVM bitcode

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 23 00:05:50 PDT 2023


jhenderson accepted this revision.
jhenderson added a comment.
This revision is now accepted and ready to land.

The pre-merge clang-format check appears to be failing.

LGTM apart from that and a couple of nits.



================
Comment at: llvm/docs/Extensions.rst:467
+``SHT_LLVM_BITCODE`` Section (LLVM bitcode)
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+This section stores LLVM bitcode. For example, Clang ``-ffat-lto-objects``
----------------
This line probably wants adjusting.


================
Comment at: llvm/docs/Extensions.rst:470
+generates ``.llvm.lto`` of this type, which can be used to perform regular LTO
+or ThinLTO at link time. This This section has the ``SHF_EXCLUDE`` flag so that
+it is stripped from the final executable or shared library.
----------------
(and reflow if necessary)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153215



More information about the llvm-commits mailing list