sr-tream wrote: > I'm not an expert on ABI
I too. I use exists function `ASTContext::getTypeAlign` - it must work correctly, if other functions like `ASTContext::getTypeSizeInCharsIfKnown` return correct results, because `ASTContext::getTypeSizeInCharsIfKnown` returns size with paddings for align https://github.com/llvm/llvm-project/pull/67213 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits