From: Pedro Artigas Date: Wed, 20 Feb 2013 00:10:29 +0000 (+0000) Subject: clear new map and initialize new variable X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=9e7924d206ded7cc46e1a6e71ad2574bec4d5057;p=oota-llvm.git clear new map and initialize new variable git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175578 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/MC/MCContext.cpp b/lib/MC/MCContext.cpp index a074003711f..1a7df6041e6 100644 --- a/lib/MC/MCContext.cpp +++ b/lib/MC/MCContext.cpp @@ -83,6 +83,8 @@ void MCContext::reset() { DwarfDebugFlags = StringRef(); MCLineSections.clear(); MCLineSectionOrder.clear(); + DwarfCompileUnitID = 0; + MCLineTableSymbols.clear(); CurrentDwarfLoc = MCDwarfLoc(0,0,0,DWARF2_FLAG_IS_STMT,0,0); // If we have the MachO uniquing map, free it.