[all-commits] [llvm/llvm-project] fd5d7c: ELF: Split relocateAlloc to relocateAlloc and relo...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Mon Sep 22 09:08:33 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fd5d7c5048501c3cf2f71ab7b1544ebe5c6816b7
https://github.com/llvm/llvm-project/commit/fd5d7c5048501c3cf2f71ab7b1544ebe5c6816b7
Author: Fangrui Song <i at maskray.me>
Date: 2025-09-22 (Mon, 22 Sep 2025)
Changed paths:
M lld/ELF/Arch/AArch64.cpp
M lld/ELF/Arch/LoongArch.cpp
M lld/ELF/Arch/PPC.cpp
M lld/ELF/Arch/PPC64.cpp
M lld/ELF/Arch/RISCV.cpp
M lld/ELF/Arch/X86.cpp
M lld/ELF/Arch/X86_64.cpp
M lld/ELF/InputSection.cpp
M lld/ELF/InputSection.h
M lld/ELF/Relocations.cpp
M lld/ELF/SyntheticSections.cpp
M lld/ELF/Target.cpp
M lld/ELF/Target.h
Log Message:
-----------
ELF: Split relocateAlloc to relocateAlloc and relocateEh. NFC
relocateAlloc can be called with either InputSection (including
SyntheticSection like GotSection) or EhInputSection.
Introduce relocateEh so that we can remove some boilerplate and replace
relocateAlloc's parameter type with `InputSection`.
Pull Request: https://github.com/llvm/llvm-project/pull/160031
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