[llvm] r175578 - clear new map and initialize new variable
Pedro Artigas
partigas at apple.com
Tue Feb 19 16:10:29 PST 2013
Author: partigas
Date: Tue Feb 19 18:10:29 2013
New Revision: 175578
URL: http://llvm.org/viewvc/llvm-project?rev=175578&view=rev
Log:
clear new map and initialize new variable
Modified:
llvm/trunk/lib/MC/MCContext.cpp
Modified: llvm/trunk/lib/MC/MCContext.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCContext.cpp?rev=175578&r1=175577&r2=175578&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCContext.cpp (original)
+++ llvm/trunk/lib/MC/MCContext.cpp Tue Feb 19 18:10:29 2013
@@ -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.
More information about the llvm-commits
mailing list