clear new map and initialize new variable

llvm-svn: 175578
This commit is contained in:
Pedro Artigas 2013-02-20 00:10:29 +00:00
parent 6da216f6f4
commit 7ba2edc0bf
1 changed files with 2 additions and 0 deletions

View File

@ -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.