[all-commits] [llvm/llvm-project] 1522ad: [NFC][ELF] Don't duplicate DynamicReloc constructor

Jessica Clarke via All-commits all-commits at lists.llvm.org
Wed Jul 30 09:08:09 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1522ad956929b53d3adfe61c1c3f60d2d3fe076c
      https://github.com/llvm/llvm-project/commit/1522ad956929b53d3adfe61c1c3f60d2d3fe076c
  Author: Jessica Clarke <jrtc27 at jrtc27.com>
  Date:   2025-07-30 (Wed, 30 Jul 2025)

  Changed paths:
    M lld/ELF/SyntheticSections.h

  Log Message:
  -----------
  [NFC][ELF] Don't duplicate DynamicReloc constructor

This second constructor is just a shorthand for an AddendOnly relocation
against dummySym with R_ADDEND, so write it as such.

Reviewers: arichardson, MaskRay

Reviewed By: MaskRay, arichardson

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



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