[PATCH] D155889: Reland "[gold] Add preliminary FatLTO support to the Gold plugin""

Paul Kirth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 20 14:43:41 PDT 2023


paulkirth created this revision.
Herald added subscribers: ormris, steven_wu, hiraditya, inglorion.
Herald added a reviewer: alexander-shaposhnikov.
Herald added a project: All.
paulkirth requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This reverts commit 2f34288b2476339e532a59fc43723b6de1a9ef08 <https://reviews.llvm.org/rG2f34288b2476339e532a59fc43723b6de1a9ef08>.

This changes the definition if isSectionBitcode to only be valid for the
.llvm.lto section, since this API is only called from LTO, and the
.llvmbc section was not intended to be used for LTO. This allows the
gold plugin to keep its existing behavior without introducing any
significant changes.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D155889

Files:
  llvm/lib/Object/ObjectFile.cpp
  llvm/test/LTO/X86/Inputs/bcsection.macho.s
  llvm/test/LTO/X86/Inputs/llvm.lto.section.s
  llvm/test/LTO/X86/bcsection.ll
  llvm/test/LTO/X86/llvm.lto.section.ll
  llvm/test/tools/gold/X86/fatlto/fatlto.invalid.s
  llvm/test/tools/gold/X86/fatlto/fatlto.test
  llvm/tools/gold/gold-plugin.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155889.542682.patch
Type: text/x-patch
Size: 10505 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230720/4f9908c7/attachment.bin>


More information about the llvm-commits mailing list