[PATCH] D135402: [LLD] Enable --no-undefined-version by default.

Dan Albert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 6 14:16:20 PDT 2022


danalbert created this revision.
Herald added subscribers: arichardson, emaste.
Herald added a reviewer: MaskRay.
Herald added a project: All.
danalbert published this revision for review.
Herald added subscribers: llvm-commits, StephenFan.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135402

Files:
  lld/ELF/Driver.cpp
  lld/ELF/Options.td
  lld/test/ELF/verdef-defaultver.s
  lld/test/ELF/verdef-dependency.s
  lld/test/ELF/verneed.s
  lld/test/ELF/version-script-extern-undefined.s
  lld/test/ELF/version-script-local-preemptible.s
  lld/test/ELF/version-script-noundef.s
  lld/test/ELF/version-script-reassign.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135402.465875.patch
Type: text/x-patch
Size: 6860 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221006/f7ebbebc/attachment.bin>


More information about the llvm-commits mailing list