diff options
author | Devang Patel <dpatel@apple.com> | 2011-08-15 23:01:55 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-08-15 23:01:55 +0000 |
commit | e24d3247625f52365b57daf93d040dc25daa0047 (patch) | |
tree | bac6b0affff7c51765a96582b96df51e3acbad8d /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 2b8acaf4f3becabad0a5881bbb28b2ff0b5a33e7 (diff) | |
download | bcm5719-llvm-e24d3247625f52365b57daf93d040dc25daa0047.tar.gz bcm5719-llvm-e24d3247625f52365b57daf93d040dc25daa0047.zip |
Use new DIBuilder::finalize() at the end to wrap up debug info encoding for a translation unit.
llvm-svn: 137674
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 d5d34634dbc..d442b097ab8 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -125,6 +125,8 @@ void CodeGenModule::createObjCRuntime() { } void CodeGenModule::Release() { + if (DebugInfo) + DebugInfo->finalize(); EmitDeferred(); EmitCXXGlobalInitFunc(); EmitCXXGlobalDtorFunc(); |