[PATCH] D53623: Rename InputSectionDescription SectionPattern.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 23 16:06:25 PDT 2018


ruiu created this revision.
ruiu added a reviewer: grimar.
Herald added subscribers: arichardson, javed.absar, emaste.
Herald added a reviewer: espindola.

"InputSectionDescription" is a bad name for a class that is used very
frequently, which hurts code readability. We need a shorter, less
descriptive name for a common concept. At least that's how we name classes
in lld. Originally, that class was not intended to be used at many places,
but it has grown beyond my expectation. It should have been given a
shorter name from the beginning.

We had "SectionPattern" class. In this patch, that class was renamed
"Wildcard".


https://reviews.llvm.org/D53623

Files:
  lld/ELF/AArch64ErrataFix.cpp
  lld/ELF/AArch64ErrataFix.h
  lld/ELF/Arch/ARM.cpp
  lld/ELF/LinkerScript.cpp
  lld/ELF/LinkerScript.h
  lld/ELF/MapFile.cpp
  lld/ELF/OutputSections.cpp
  lld/ELF/Relocations.cpp
  lld/ELF/Relocations.h
  lld/ELF/ScriptParser.cpp
  lld/ELF/SyntheticSections.cpp
  lld/ELF/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53623.170775.patch
Type: text/x-patch
Size: 34632 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181023/32f05639/attachment-0001.bin>


More information about the llvm-commits mailing list