The ARM C++ ABI is sufficiently different from the Itanium C++ ABI that
it deserves its own enumerator. Obviously the implementations should closely follow the Itanium ABI except in cases of divergence. llvm-svn: 111749
This commit is contained in:
@@ -91,11 +91,15 @@ void CodeGenModule::createObjCRuntime() {
|
||||
|
||||
void CodeGenModule::createCXXABI() {
|
||||
switch (Context.Target.getCXXABI()) {
|
||||
default:
|
||||
case CXXABI_ARM:
|
||||
ABI = CreateARMCXXABI(*this);
|
||||
break;
|
||||
case CXXABI_Itanium:
|
||||
ABI = CreateItaniumCXXABI(*this);
|
||||
break;
|
||||
case CXXABI_Microsoft:
|
||||
ABI = CreateMicrosoftCXXABI(*this);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user