[PATCH] D84462: Rename options for basic block sections to be consistent

Sriraman Tallam via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 23 13:36:14 PDT 2020


tmsriram created this revision.
tmsriram added reviewers: rsmith, ruiu, MaskRay.
Herald added subscribers: llvm-commits, dang, dexonsmith, steven_wu, hiraditya, arichardson, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.

D68049 <https://reviews.llvm.org/D68049> created options for basic block sections:  -fbasic-block-sections=,  -funique-basic-block-section-names.  Rename options in llc and lld (--lto-) to be consistent.  Specifically,

- Rename basicblock-sections to basic-block-sections
- Rename unique-bb-section-names to unique-basic-block-section-names

Further, add a test to lld for --lto-basic-block-sections= and --lto-unique-basic-block-section-names.


https://reviews.llvm.org/D84462

Files:
  lld/ELF/Driver.cpp
  lld/ELF/LTO.cpp
  lld/ELF/Options.td
  lld/test/ELF/bb-sections-and-icf.s
  lld/test/ELF/bb-sections-delete-fallthru.s
  lld/test/ELF/bb-sections-pc32reloc.s
  lld/test/ELF/lto/basic-block-sections.ll
  llvm/lib/CodeGen/CommandFlags.cpp
  llvm/test/CodeGen/X86/basicblock-sections-clusters-branches.ll
  llvm/test/CodeGen/X86/basicblock-sections-clusters-eh.ll
  llvm/test/CodeGen/X86/basicblock-sections-clusters-error.ll
  llvm/test/CodeGen/X86/basicblock-sections-clusters.ll
  llvm/test/CodeGen/X86/basicblock-sections-cold.ll
  llvm/test/CodeGen/X86/basicblock-sections-directjumps.ll
  llvm/test/CodeGen/X86/basicblock-sections-eh.ll
  llvm/test/CodeGen/X86/basicblock-sections-labels.ll
  llvm/test/CodeGen/X86/basicblock-sections-list.ll
  llvm/test/CodeGen/X86/basicblock-sections-listbb.ll
  llvm/test/CodeGen/X86/basicblock-sections-mir-parse.mir
  llvm/test/CodeGen/X86/basicblock-sections-mir-print.ll
  llvm/test/CodeGen/X86/basicblock-sections.ll
  llvm/test/CodeGen/X86/cfi-basic-block-sections-1.ll
  llvm/test/CodeGen/X86/cfi-inserter-basic-block-sections-callee-save-registers.ll
  llvm/test/DebugInfo/X86/basicblock-sections_1.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84462.280242.patch
Type: text/x-patch
Size: 22060 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200723/a5f191ae/attachment.bin>


More information about the llvm-commits mailing list