Put modules for 32-bit iOS builds in lib/swift/iphone{os,simulator}/32.

This keeps us from having to deal with fat swiftmodules for now.
In the long run we're hoping to solve this problem with build configurations,
so that a single module file can support multiple architectures.
(See <rdar://problem/15056323>)

<rdar://problem/15204953>

Swift SVN r13135
This commit is contained in:
Jordan Rose
2014-01-30 03:26:50 +00:00
parent d69b305200
commit d0d4286d21
8 changed files with 34 additions and 32 deletions

View File

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