[all-commits] [llvm/llvm-project] 3548b7: [LLD] [MinGW] Handle the --dll option (#68575)

Martin Storsjö via All-commits all-commits at lists.llvm.org
Mon Oct 9 13:19:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3548b79557d193d5bb2acaf8f443a07846f1e14a
      https://github.com/llvm/llvm-project/commit/3548b79557d193d5bb2acaf8f443a07846f1e14a
  Author: Martin Storsjö <martin at martin.st>
  Date:   2023-10-09 (Mon, 09 Oct 2023)

  Changed paths:
    M lld/MinGW/Options.td
    M lld/test/MinGW/driver.test

  Log Message:
  -----------
  [LLD] [MinGW] Handle the --dll option (#68575)

Treat this as an alias for the --shared option.

In practice in GNU ld, they aren't exact aliases but there are small
subtle differences in what happens and what doesn't, when they are set,
but those differences are probably not intended by users who might be
using the --dll option (which gets passed by -mdll in the compiler
driver), and the differences are within the area where small details
differ between LLD and GNU ld anyway.




More information about the All-commits mailing list