[PATCH] D14871: [Power PC] fix calculating address of arguments on stack for variadic functions

hfinkel@anl.gov via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 21 07:14:52 PST 2015


hfinkel added inline comments.

================
Comment at: lib/CodeGen/TargetInfo.cpp:3547
@@ +3546,3 @@
+    // Round up address of argument to alignment
+    llvm::Value *overflow_arg_area = OverflowArea.getPointer();
+    uint32_t Align = CGF.getContext().getTypeAlignInChars(Ty).getQuantity();
----------------
You need to use variable names consistent with our coding convention (OverflowArgArea, etc.).


http://reviews.llvm.org/D14871





More information about the cfe-commits mailing list