[all-commits] [llvm/llvm-project] f71f95: [ELF] Rename IsRela to HasAddend

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Jun 25 20:11:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f71f95d6aa27057f4fc10695ee9c8eb1ec77b763
      https://github.com/llvm/llvm-project/commit/f71f95d6aa27057f4fc10695ee9c8eb1ec77b763
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-25 (Tue, 25 Jun 2024)

  Changed paths:
    M lld/ELF/InputSection.cpp
    M lld/ELF/Relocations.cpp
    M llvm/include/llvm/Object/ELFTypes.h

  Log Message:
  -----------
  [ELF] Rename IsRela to HasAddend

`IsRela` is used by lld to differentiate REL and RELA static
relocations. The proposed CREL patch will reuse `IsRela` for CREL
(#91280). Rename `IsRela` to be more appropriate.

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



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