[all-commits] [llvm/llvm-project] 1a3ef0: [lld-macho] In the context of relocs, s/target/ref...

Greg McGary via All-commits all-commits at lists.llvm.org
Tue Sep 22 20:31:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a3ef0417c7ca9498895186c96da452f6e2f15a0
      https://github.com/llvm/llvm-project/commit/1a3ef0417c7ca9498895186c96da452f6e2f15a0
  Author: Greg McGary <gkm at fb.com>
  Date:   2020-09-22 (Tue, 22 Sep 2020)

  Changed paths:
    M lld/MachO/InputFiles.cpp
    M lld/MachO/InputSection.cpp
    M lld/MachO/InputSection.h

  Log Message:
  -----------
  [lld-macho] In the context of relocs, s/target/referent/ for sections & symbols

The word "target" is overloaded, so lighten its load by using another word to denote the symbol or section to which a reloc points. While more stilted than "target", "referent" is rather less pompous than "designatum" or "denotatum". :P

Along the way, make a few neighboring variable names more descriptive.

Reviewed By: #lld-macho, int3

Differential Revision: https://reviews.llvm.org/D87584




More information about the All-commits mailing list