Index: lib/Driver/Driver.cpp =================================================================== --- lib/Driver/Driver.cpp (revision 169957) +++ lib/Driver/Driver.cpp (working copy) @@ -238,7 +238,8 @@ if (char *env = ::getenv("COMPILER_PATH")) { StringRef CompilerPath = env; while (!CompilerPath.empty()) { - std::pair Split = CompilerPath.split(':'); + std::pair Split + = CompilerPath.split(llvm::sys::PathSeparator); PrefixDirs.push_back(Split.first); CompilerPath = Split.second; }