[all-commits] [llvm/llvm-project] 22bf33: [ELF] Refactor RelocScan::scan to be target-specif...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Oct 13 23:32:56 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22bf331933c2b072bc2b2fd00c70b2b3b1c21a98
      https://github.com/llvm/llvm-project/commit/22bf331933c2b072bc2b2fd00c70b2b3b1c21a98
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-10-13 (Mon, 13 Oct 2025)

  Changed paths:
    M lld/ELF/Arch/Mips.cpp
    M lld/ELF/Arch/PPC64.cpp
    A lld/ELF/RelocScan.h
    M lld/ELF/Relocations.cpp
    M lld/ELF/Relocations.h
    M lld/ELF/Target.cpp
    M lld/ELF/Target.h

  Log Message:
  -----------
  [ELF] Refactor RelocScan::scan to be target-specific (#163138)

- Extract RelocScan to RelocScan.h. The file includes Target.h, and
cannot be merged with Relocations.h
- Add MIPS and PPC64 specific relocation scanners, removing runtime
checks for other targets.

This refactoring prepares the codebase for better target-specific
optimizations and easier addition of target-specific behavior.



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