+cfe-commits 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 <x...@igalia.com>: > Hi, > > 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 > version. > > 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-comm...@cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits > >
_______________________________________________ cfe-commits mailing list cfe-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits