summaryrefslogtreecommitdiff
path: root/lib/MC
diff options
context:
space:
mode:
authorPedro Artigas <partigas@apple.com>2013-02-20 00:10:29 +0000
committerPedro Artigas <partigas@apple.com>2013-02-20 00:10:29 +0000
commit9e7924d206ded7cc46e1a6e71ad2574bec4d5057 (patch)
tree8aab36f5bdff27317b1381c49a178b9023a09604 /lib/MC
parent2bb471f2fa3709f5861f20016ff9d24f0098abe4 (diff)
clear new map and initialize new variable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175578 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r--lib/MC/MCContext.cpp2
1 files changed, 2 insertions, 0 deletions
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.