summaryrefslogtreecommitdiffstats
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
commit7ba2edc0bfc5fcb41175ddc84f97253ff71ce850 (patch)
tree499cea0b24c8b9f39bb88566b50d2806b8e510df
parent6da216f6f4cf23ad15bcd8c7c70a0a13331edfb2 (diff)
downloadbcm5719-llvm-7ba2edc0bfc5fcb41175ddc84f97253ff71ce850.tar.gz
bcm5719-llvm-7ba2edc0bfc5fcb41175ddc84f97253ff71ce850.zip
clear new map and initialize new variable
llvm-svn: 175578
-rw-r--r--llvm/lib/MC/MCContext.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCContext.cpp b/llvm/lib/MC/MCContext.cpp
index a074003711f..1a7df6041e6 100644
--- a/llvm/lib/MC/MCContext.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud