[all-commits] [llvm/llvm-project] a484e0: [Object] Add ELF section type SHT_LLVM_BITCODE for...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Jun 28 14:01:21 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a484e020d75d398049e1fcbeb0157d57011714b3
      https://github.com/llvm/llvm-project/commit/a484e020d75d398049e1fcbeb0157d57011714b3
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M llvm/docs/Extensions.rst
    M llvm/include/llvm/BinaryFormat/ELF.h
    M llvm/lib/MC/MCParser/ELFAsmParser.cpp
    M llvm/lib/MC/MCSectionELF.cpp
    M llvm/lib/Object/ELF.cpp
    M llvm/lib/ObjectYAML/ELFYAML.cpp
    M llvm/test/MC/AsmParser/llvm_section_types.s
    M llvm/test/MC/ELF/section.s
    A llvm/test/ObjectYAML/ELF/llvm-section-types.yaml
    R llvm/test/ObjectYAML/ELF/sht-offloading.yaml
    M llvm/test/tools/llvm-readobj/ELF/section-types.test

  Log Message:
  -----------
  [Object] Add ELF section type SHT_LLVM_BITCODE for LLVM bitcode

clang -ffat-lto-objects can use this new ELF section type for the .llvm.lto
section for fat LTO support (D146776).

Original RFC: https://discourse.llvm.org/t/rfc-ffat-lto-objects-support/63977

Reviewed By: jhenderson

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




More information about the All-commits mailing list