[all-commits] [llvm/llvm-project] 3b299a: ELF: Store EhInputSection relocations to simplify ...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Sep 29 09:15:59 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b299af92383cb7558224482ccfa714f0162f772
      https://github.com/llvm/llvm-project/commit/3b299af92383cb7558224482ccfa714f0162f772
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M lld/ELF/InputSection.cpp
    M lld/ELF/InputSection.h
    M lld/ELF/MarkLive.cpp
    M lld/ELF/SyntheticSections.cpp
    M lld/ELF/SyntheticSections.h

  Log Message:
  -----------
  ELF: Store EhInputSection relocations to simplify code. NFC

Store relocations directly as `SmallVector<Relocation, 0>` within
EhInputSection to avoid processing different relocation formats
(REL/RELA/CREL) throughout the codebase.

Next: Refactor RelocationScanner to utilize EhInputSection::rels

Pull Request: https://github.com/llvm/llvm-project/pull/161041



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list