[all-commits] [llvm/llvm-project] e36223: [ELF] Enforce two dashes for Flag options not supp...

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri May 15 11:07:46 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e36223c85cd49858a808a2420144b64cad37839f
      https://github.com/llvm/llvm-project/commit/e36223c85cd49858a808a2420144b64cad37839f
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-05-15 (Fri, 15 May 2020)

  Changed paths:
    M lld/ELF/Options.td
    M lld/test/ELF/debug-gnu-pubnames.s
    M lld/test/ELF/dynstr-no-rosegment.s
    M lld/test/ELF/eh-frame-padding-no-rosegment.s
    M lld/test/ELF/elf-header.s
    M lld/test/ELF/execute-only-mixed-data.s
    M lld/test/ELF/execute-only.s
    M lld/test/ELF/gdb-index-no-debug.s
    M lld/test/ELF/invalid/invalid-debug-relocations.test
    M lld/test/ELF/segments.s
    M lld/test/ELF/sort-norosegment.s

  Log Message:
  -----------
  [ELF] Enforce two dashes for Flag options not supported by GNU ld (i.e. no compatibility burden)

Announced on https://lists.llvm.org/pipermail/llvm-dev/2020-May/141416.html

Similar to D79371, but for `multiclass B` (convenience helper for defining --foo and --no-foo)

Some changed options are also used by gold, but I haven't seen their
one-dash use cases outside of lld's testsuite.




More information about the All-commits mailing list