commit | d0f393d46f159f3349e219f9af6880b037822193 | [log] [tgz] |
---|---|---|
author | Jeffrey Yasskin <jyasskin@google.com> | Thu Mar 11 18:29:55 2010 +0000 |
committer | Jeffrey Yasskin <jyasskin@google.com> | Thu Mar 11 18:29:55 2010 +0000 |
tree | 54015d31c3ad75cb9e377f72926630f180370574 | |
parent | 8f0448cabcc37f3ecd7099c658346c0ece521e22 [diff] [blame] |
Avoid leaking CompileUnits in DwarfDebug.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98268 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h index 40d1d64..2ce575c 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -473,7 +473,7 @@ /// as well. unsigned GetOrCreateSourceID(StringRef DirName, StringRef FileName); - CompileUnit *constructCompileUnit(MDNode *N); + void constructCompileUnit(MDNode *N); void constructGlobalVariableDIE(MDNode *N);