revert r11411, which completely broke the makefile build.

Swift SVN r11414
This commit is contained in:
Chris Lattner
2013-12-18 04:33:58 +00:00
parent b1ba2ac303
commit 073974dca4
9 changed files with 54 additions and 87 deletions

View File

@@ -85,8 +85,8 @@ static llvm::error_code findModule(ASTContext &ctx, AccessPathElem moduleID,
}
}
// Search the runtime import path.
inputFilename = ctx.SearchPathOpts.RuntimeImportPath;
// Finally, check the runtime include path.
inputFilename = ctx.SearchPathOpts.RuntimeIncludePath;
llvm::sys::path::append(inputFilename, moduleFilename.str());
err = llvm::MemoryBuffer::getFile(inputFilename.str(), bufferRef);
if (!err) {