[clang] [Clang][Driver] Revise Cygwin ToolChain to call linker directly (PR #147960)

via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 11 09:50:44 PDT 2026


================
@@ -684,6 +684,8 @@ static StringRef getArchNameForCompilerRTLib(const ToolChain &TC,
 StringRef ToolChain::getOSLibName() const {
   if (Triple.isOSDarwin())
     return "darwin";
+  if (Triple.isWindowsCygwinEnvironment())
+    return "cygwin";
----------------
tyan0 wrote:

Done.
https://github.com/llvm/llvm-project/pull/208925

https://github.com/llvm/llvm-project/pull/147960


More information about the cfe-commits mailing list