mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-03 16:41:06 +03:00
Merge branch 'master' into merge-2.068
druntime/phobos/dmd-testsuite not yet merged
This commit is contained in:
commit
f9e8f0d09a
22 changed files with 358 additions and 47 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue