[all-commits] [llvm/llvm-project] 6188fd: [ELF] Rename OutputSection::sectionCommands to com...

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Nov 25 16:47:20 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6188fd495744ffea76f481a960df9beacb8ce91b
      https://github.com/llvm/llvm-project/commit/6188fd495744ffea76f481a960df9beacb8ce91b
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-11-25 (Thu, 25 Nov 2021)

  Changed paths:
    M lld/ELF/AArch64ErrataFix.cpp
    M lld/ELF/ARMErrataFix.cpp
    M lld/ELF/ICF.cpp
    M lld/ELF/LinkerScript.cpp
    M lld/ELF/MapFile.cpp
    M lld/ELF/OutputSections.cpp
    M lld/ELF/OutputSections.h
    M lld/ELF/Relocations.cpp
    M lld/ELF/ScriptParser.cpp
    M lld/ELF/SyntheticSections.cpp
    M lld/ELF/Writer.cpp

  Log Message:
  -----------
  [ELF] Rename OutputSection::sectionCommands to commands. NFC

This partially reverts r315409: the description applies to LinkerScript, but not
to OutputSection.

The name "sectionCommands" is used in both LinkerScript::sectionCommands and
OutputSection::sectionCommands, which may lead to confusion.
"commands" in OutputSection has no ambiguity because there are no other types
of commands.




More information about the All-commits mailing list