diff options
author | John McCall <rjmccall@apple.com> | 2010-09-16 06:16:50 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-09-16 06:16:50 +0000 |
commit | b25938303de0976b9f189363d43033e5788e3d36 (patch) | |
tree | d9477ad43935b0d10042730f1c503c96945a9046 /lib/CodeGen/CodeGenModule.cpp | |
parent | f902153696d6b0e30651b33c6626ed757c5e95e3 (diff) |
Opportunistically use the C++ personality function in ObjC++
translation units that don't catch ObjC types. rdar://problem/8434851
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114070 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index 173fbf4ff7..f5ba76c1b9 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/lib/CodeGen/CodeGenModule.cpp @@ -110,6 +110,8 @@ void CodeGenModule::Release() { EmitAnnotations(); EmitLLVMUsed(); + SimplifyPersonality(); + if (getCodeGenOpts().EmitDeclMetadata) EmitDeclMetadata(); } |