[PATCH] D88802: [LLD] [COFF] Add a private option for setting the os version separately from subsystem version

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 4 13:00:14 PDT 2020


mstorsjo created this revision.
mstorsjo added reviewers: rnk, ruiu, thakis.
Herald added a subscriber: dang.
Herald added a project: LLVM.
mstorsjo requested review of this revision.

The MinGW driver has separate options for OS and subsystem version. Having this available in lld-link allows the MinGW driver to both match GNU ld better and simplifies the code for merging two (potentially mismatching) arguments into one.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88802

Files:
  lld/COFF/Config.h
  lld/COFF/Driver.cpp
  lld/COFF/Driver.h
  lld/COFF/DriverUtils.cpp
  lld/COFF/Options.td
  lld/COFF/Writer.cpp
  lld/test/COFF/subsystem.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88802.296071.patch
Type: text/x-patch
Size: 5991 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201004/8eecb162/attachment.bin>


More information about the llvm-commits mailing list