[PATCH][Solaris] Clang/Driver, stop hardcoding GCC paths in crt/ld.so lookup
yaron.keren at gmail.com
Tue Jul 28 03:55:23 PDT 2015
This is a very large Solaris special case in ScanLibDirForGCCTriple which
shares almost no code with the function.
How about splitting it out to a helper function or
making ScanLibDirForGCCTriple virtual and overriding on Solaris?
2015-07-28 13:17 GMT+03:00 Xan López <xan at igalia.com>:
> the lookup code for all crt (and ld.so) files in Solaris is hardcoded,
> it will only work in a ~2012-ish Solaris/x86 machine with a single GCC
> This patch refactors the code to use the GCC installation detector
> (modified so that it works in Solaris), and uses
> ToolChain::GetFilePath everywhere once it works.
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits