[clang] [Clang][Solaris] Support --ld-path in Solaris driver (PR #163000)

Daniel Levin via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 21 05:07:03 PST 2025


daniel-levin wrote:

> Again, in my test with -DCLANG_DEFAULT_LINKER=gld on unmodified main that test did indeed PASS.

Yes, you should expect it to, because the Solaris driver completely ignored this flag before. Indeed, there was a TODO to fix this: https://github.com/llvm/llvm-project/blob/4c8275470465528c469436d37b9aaf71d6598899/clang/lib/Driver/ToolChains/Solaris.cpp#L55

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


More information about the cfe-commits mailing list