Merge branch 'master' into merge-2.068

druntime/phobos/dmd-testsuite not yet merged
This commit is contained in:
David Nadlinger 2015-09-13 18:17:23 +02:00
commit f9e8f0d09a
22 changed files with 358 additions and 47 deletions

View file

@ -1824,3 +1824,10 @@ unsigned getFieldGEPIndex(AggregateDeclaration* ad, VarDeclaration* vd)
assert(byteOffset == 0 && "Cannot address field by a simple GEP.");
return fieldIndex;
}
#if LDC_LLVM_VER >= 307
bool supportsCOMDAT()
{
return !global.params.targetTriple.isOSBinFormatMachO();
}
#endif