[all-commits] [llvm/llvm-project] 241dbd: [ELF] Enable --no-undefined-version by default

Dan Albert via All-commits all-commits at lists.llvm.org
Wed Dec 7 17:41:32 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 241dbd310599e3c1a0f1b0c9ced14c8b8760539e
      https://github.com/llvm/llvm-project/commit/241dbd310599e3c1a0f1b0c9ced14c8b8760539e
  Author: Dan Albert <danalbert at google.com>
  Date:   2022-12-08 (Thu, 08 Dec 2022)

  Changed paths:
    M lld/ELF/Driver.cpp
    M lld/ELF/Options.td
    M lld/docs/ReleaseNotes.rst
    M lld/docs/ld.lld.1
    M lld/test/ELF/verdef-defaultver.s
    M lld/test/ELF/verdef-dependency.s
    M lld/test/ELF/verneed.s
    M lld/test/ELF/version-script-extern-undefined.s
    M lld/test/ELF/version-script-local-preemptible.s
    M lld/test/ELF/version-script-noundef.s
    M lld/test/ELF/version-script-reassign.s

  Log Message:
  -----------
  [ELF] Enable --no-undefined-version by default

Allowing incorrect version scripts is not a helpful default. Flip that
to help users find their bugs at build time rather than at run time.

Reviewed By: MaskRay

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




More information about the All-commits mailing list