[AIX][Frontend] C++ ABI customizations for AIX boilerplate
authorXiangling Liao <Xiangling.Liao@ibm.com>
Mon, 24 Feb 2020 14:46:00 +0000 (09:46 -0500)
committerXiangling Liao <Xiangling.Liao@ibm.com>
Mon, 24 Feb 2020 15:26:51 +0000 (10:26 -0500)
commit8bee52bdb54a51ccfe1eb6c6ed5077132c2950a1
treef0efa7ee3fa2803a83c722bb3bc34d9657117e2f
parentc8dadac228b7dd3a71d5fc25489d1b884a2b0f5e
[AIX][Frontend] C++ ABI customizations for AIX boilerplate

This PR enables "XL" C++ ABI in frontend AST to IR codegen. And it is driven by
static init work. The current kind in Clang by default is Generic Itanium, which
has different behavior on static init with IBM xlclang compiler on AIX.

Differential Revision: https://reviews.llvm.org/D74015
clang/include/clang/Basic/TargetCXXABI.h
clang/lib/AST/ASTContext.cpp
clang/lib/Basic/Targets/OSTargets.h
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/CodeGen/ItaniumCXXABI.cpp
clang/test/CodeGen/static-init.cpp [new file with mode: 0644]