================
Comment at: lib/AST/ASTContext.cpp:1391
@@ +1390,3 @@
+  if (!Context.getTargetInfo().getCXXABI().isMicrosoft() ||
+      Context.getTargetInfo().getPointerWidth(0) == 64)
+    Width = llvm::RoundUpToAlignment(Width, Align);
----------------
David Majnemer wrote:
> Should this check be grafted into a new method off of the CXXABI class? Might 
> be useful if we find out 64-bit ARM is different.
Might be.  At present I vote we cross the ARM bridge when we get there.  I'm 
uncomfortable asserting anything about how ARM behaves without testing it 
first.  If ARM32 and X86 have notable similarities and ARM64 and X64 have 
notable similarities then I think it warrants coming up with some abstractions 
for them.


http://llvm-reviews.chandlerc.com/D2090
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to