commit | 0bdb1fd4775648d63033ba20cdaf90fd34f8ce3d | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Thu Sep 16 06:16:50 2010 +0000 |
committer | John McCall <rjmccall@apple.com> | Thu Sep 16 06:16:50 2010 +0000 |
tree | a3c64237022544138fa9a7602414ca6650c7dfdb | |
parent | 0bd7a9345bb7f0c708d6b2a63760c30a2c7e890b [diff] [blame] |
Opportunistically use the C++ personality function in ObjC++ translation units that don't catch ObjC types. rdar://problem/8434851 llvm-svn: 114070
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 173fbf4..f5ba76c 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -110,6 +110,8 @@ EmitAnnotations(); EmitLLVMUsed(); + SimplifyPersonality(); + if (getCodeGenOpts().EmitDeclMetadata) EmitDeclMetadata(); }