[all-commits] [llvm/llvm-project] 091e36: [JITLink][ELF] Support duplicated section names fr...

Steven Wu via All-commits all-commits at lists.llvm.org
Tue Jan 18 08:38:50 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 091e364866fb123fce090d0f511625dcbdfb5501
      https://github.com/llvm/llvm-project/commit/091e364866fb123fce090d0f511625dcbdfb5501
  Author: Steven Wu <stevenwu at apple.com>
  Date:   2022-01-18 (Tue, 18 Jan 2022)

  Changed paths:
    M llvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.h
    M llvm/lib/ExecutionEngine/JITLink/ELF_aarch64.cpp
    M llvm/lib/ExecutionEngine/JITLink/ELF_riscv.cpp
    M llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp
    A llvm/test/ExecutionEngine/JITLink/X86/ELF_comdat.s

  Log Message:
  -----------
  [JITLink][ELF] Support duplicated section names from object file

ELF object files can contain duplicated sections (thus section symbols
as well), espeically when comdats/section groups are present. This patch
adds support for generating LinkGraph from object files that have
duplicated section names. This is the first step to properly model
comdats/section groups.

Reviewed By: lhames

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




More information about the All-commits mailing list