[PATCH] D16788: Ps4 ABI Round 2. Actual PS4 code.
Sunil Srivastava via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 1 16:11:16 PST 2016
Sunil_Srivastava created this revision.
Sunil_Srivastava added reviewers: rjmccall, DmitryPolukhin, rsmith, probinson.
Sunil_Srivastava added a subscriber: cfe-commits.
This is the round 2 of the PS4 ABI. In this round:
1) A new value PS4 has been added to TargetCXXABI::Kind. It is being used for x86_64-scei-ps4 triple only.
2) RecordLayoutBuilder.cpp has been logically reverted back to pre r257462 behavior for PS4 abi.
3) The test Sema/bitfield-layout.c has been enhanced by adding the PS4 triple, and few test entries that differ between PS4 and other triples, have been put under '#ifdef PS4'. Logically, the test has not changed for triples other than x86_64-scei-ps4. For x86_64-scei-ps4 triple, the test matches pre r257462 behavior.
The test passes on all listed triples on x86 Linux and windows hosts.
http://reviews.llvm.org/D16788
Files:
include/clang/Basic/TargetCXXABI.h
lib/AST/ASTContext.cpp
lib/AST/RecordLayoutBuilder.cpp
lib/Basic/Targets.cpp
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/ItaniumCXXABI.cpp
test/Sema/bitfield-layout.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16788.46584.patch
Type: text/x-patch
Size: 7401 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160202/33d121ef/attachment-0001.bin>
More information about the cfe-commits
mailing list