[PATCH] D16788: PS4 ABI Round 2. Actual PS4 code.

Paul Robinson via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 2 08:07:19 PST 2016


probinson added inline comments.

================
Comment at: include/clang/Basic/TargetCXXABI.h:118
@@ -115,1 +117,3 @@
+    /// in LLVM 3.2.
+    PS4
   };
----------------
rjmccall wrote:
> I'm not sure why you added a new C++ ABI kind here.  The bug fix you're opting out of is not at all specific to C++, and there are more straightforward ways to check the target than checking the C++ ABI kind.
> 
> I mean, I have no doubt that eventually there will be some significant C++ ABI bug fix that you don't want to pick up, so I'm not opposed to adding a new C++ ABI kind.  It just seems inappropriate to do that in this patch.
The alignment attribute is affecting layout, and layout would seem to be an ABI thing.


http://reviews.llvm.org/D16788





More information about the cfe-commits mailing list