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 | 0bdb1fd4775648d63033ba20cdaf90fd34f8ce3d (patch) | |
| tree | a3c64237022544138fa9a7602414ca6650c7dfdb /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | 0bd7a9345bb7f0c708d6b2a63760c30a2c7e890b (diff) | |
| download | llvm-0bdb1fd4775648d63033ba20cdaf90fd34f8ce3d.zip llvm-0bdb1fd4775648d63033ba20cdaf90fd34f8ce3d.tar.gz llvm-0bdb1fd4775648d63033ba20cdaf90fd34f8ce3d.tar.bz2 | |
Opportunistically use the C++ personality function in ObjC++
translation units that don't catch ObjC types. rdar://problem/8434851
llvm-svn: 114070
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ void CodeGenModule::Release() { EmitAnnotations(); EmitLLVMUsed(); + SimplifyPersonality(); + if (getCodeGenOpts().EmitDeclMetadata) EmitDeclMetadata(); } |
