[PATCH] D86762: [ELF] Add documentation for --warn-backrefs: a layering check tool

Adrian McCarthy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 28 09:02:09 PDT 2020


amccarth added a comment.

Is there a more specific term than "traditional linker"?

I understand that LLD's search strategy is uncommon among linkers in the Posix (and/or ELF?) realm, but it's not uncommon in other linkers, even very old ones.  For example, the VMS (now OpenVMS) linker has used LLD's strategy by default for many decades.  (It does allow opting in to the more restrictive search.)  LLD's approach matches Microsoft's link.exe.  I can't be sure, but I don't recall the so-called traditional behavior from linkers from other vendors of Windows, DOS, or CP/M linkers.

I have no objection to turning the warning on in appropriate contexts or with the argument that it helps to ensure good layering.  I'm just quibbling over the term "traditional."


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86762/new/

https://reviews.llvm.org/D86762



More information about the llvm-commits mailing list