Versionize for parallel installation with newer llvm
[git/cygwin-packages/llvm3.5.git] / 3.5.1-cmodel-medium.patch
1 --- origsrc/llvm-3.5.1.src/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp 2014-07-17 11:27:40.000000000 -0500
2 +++ src/llvm-3.5.1.src/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp 2015-04-30 23:57:03.440469200 -0500
3 @@ -340,7 +340,8 @@ static MCCodeGenInfo *createX86MCCodeGen
4
5 // For static codegen, if we're not already set, use Small codegen.
6 if (CM == CodeModel::Default)
7 - CM = CodeModel::Small;
8 + CM = T.isWindowsCygwinEnvironment() && is64Bit ? CodeModel::Medium
9 + : CodeModel::Small;
10 else if (CM == CodeModel::JITDefault)
11 // 64-bit JIT places everything in the same buffer except external funcs.
12 CM = is64Bit ? CodeModel::Large : CodeModel::Small;
This page took 0.030568 seconds and 5 git commands to generate.