commit | c3545716b952d0e1a1043fd21852c72418098023 | [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 | f97aee1d1a55869dacddd9fa04ac8aa1f13c3cff [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);