]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r259053:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 10 Dec 2013 07:25:25 +0000 (07:25 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 10 Dec 2013 07:25:25 +0000 (07:25 +0000)
commitf173d962ede9ba494243ec3679713129f343c607
tree14ce9c1bfa582b7a064a137364d241814135f225
parenta2d86abe05737304cf5b1ed70d9df98b1d3ff3eb
MFC r259053:

Pull in r196590 from upstream clang trunk (by rdivacky):

  Move the body of GCCInstallationDetector ctor into an init() function
  and call it from its only user. The linux toolchain. This saves quite
  a lot of directory searching on other platforms.

See http://docs.freebsd.org/cgi/mid.cgi?51E6FAF5.3080802 for the
original discussion.  With this fix, the search for gcc installations is
completely eliminated on FreeBSD.

Reported by: Kurt Lidl <lidl@pix.net>

git-svn-id: svn://svn.freebsd.org/base/stable/10@259157 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/llvm/tools/clang/lib/Driver/ToolChains.cpp
contrib/llvm/tools/clang/lib/Driver/ToolChains.h