[IRGen] The "default" LLVM code model is now Small.

This commit is contained in:
Sean Callanan
2017-08-03 10:22:01 -07:00
parent ae762490ab
commit 7526d07525

View File

@@ -509,7 +509,7 @@ swift::createTargetMachine(IRGenOptions &Opts, ASTContext &Ctx) {
// Create a target machine.
auto cmodel = CodeModel::Default;
auto cmodel = CodeModel::Small;
// On Windows 64 bit, dlls are loaded above the max address for 32 bits.
// This means that a default CodeModel causes generated code to segfault