[PATCH] D85309: [WIP][clang][Driver] Support GNU ld on Solaris

Rainer Orth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 5 07:20:03 PDT 2020


ro created this revision.
ro added a reviewer: MaskRay.
ro added a project: clang.
Herald added subscribers: fedor.sergeev, mgorny.
ro requested review of this revision.

This patch is posted just for reference on top of D84029 <https://reviews.llvm.org/D84029> and D84412 <https://reviews.llvm.org/D84412>.

It's a very first attempt to support GNU `ld` on Solaris, which is non-trivial given that
both linkers have some options not supported by the other.  Currently linker selection
is done at `cmake` time; it probably needs to be made runtime-selectable.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85309

Files:
  clang/CMakeLists.txt
  clang/include/clang/Config/config.h.cmake
  clang/lib/Driver/ToolChains/CommonArgs.cpp
  clang/lib/Driver/ToolChains/Solaris.cpp
  clang/lib/Driver/ToolChains/Solaris.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85309.283230.patch
Type: text/x-patch
Size: 4749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200805/aa57b9b4/attachment.bin>


More information about the cfe-commits mailing list