[all-commits] [llvm/llvm-project] 6b539f: Reland "[gold] Add preliminary FatLTO support to t...

Paul Kirth via All-commits all-commits at lists.llvm.org
Fri Aug 18 15:57:06 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b539f5eb8ef1d3a3c87873caa2dbd5147e1adbd
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2023-08-18 (Fri, 18 Aug 2023)

  Changed paths:
    M llvm/docs/BitCodeFormat.rst
    M llvm/lib/Object/ObjectFile.cpp
    M llvm/test/LTO/X86/Inputs/bcsection.macho.s
    A llvm/test/LTO/X86/Inputs/llvm.lto.section.s
    M llvm/test/LTO/X86/bcsection.ll
    A llvm/test/LTO/X86/llvm.lto.section.ll
    A llvm/test/tools/gold/X86/fatlto/fatlto.invalid.s
    A llvm/test/tools/gold/X86/fatlto/fatlto.test
    M llvm/tools/gold/gold-plugin.cpp

  Log Message:
  Reland "[gold] Add preliminary FatLTO support to the Gold plugin""

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.

Reviewed By: MaskRay, nikic

Differential Revision: https://reviews.llvm.org/D152973

More information about the All-commits mailing list