mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-09 04:15:58 +03:00
Fix issue 726: Wrong alignment for struct fields on x86_64/amd64
This commit is contained in:
parent
0b180be099
commit
9314fc1c1c
8 changed files with 49 additions and 16 deletions
|
@ -401,6 +401,11 @@ llvm::GlobalVariable * IrAggr::getInterfaceVtbl(BaseClass * b, bool new_instance
|
|||
return GV;
|
||||
}
|
||||
|
||||
bool IrAggr::isPacked() const
|
||||
{
|
||||
return static_cast<IrTypeAggr*>(type->ctype)->packed;
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
LLConstant * IrAggr::getClassInfoInterfaces()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue