When given the magic class __cxxabiv1::__fundamental_type_info, produce

the typeinfo for the fundamental types.

Fixes PR6685.

llvm-svn: 99701
This commit is contained in:
Rafael Espindola
2010-03-27 02:52:14 +00:00
parent 07943af506
commit adcc1d18e2
3 changed files with 72 additions and 6 deletions

View File

@@ -79,6 +79,7 @@ void CodeGenModule::createObjCRuntime() {
}
void CodeGenModule::Release() {
EmitFundamentalRTTIDescriptors();
EmitDeferred();
EmitCXXGlobalInitFunc();
EmitCXXGlobalDtorFunc();