summaryrefslogtreecommitdiff
path: root/lib/MC/MCStreamer.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-08-25 04:04:18 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-08-25 04:04:18 +0000
commit2df9f8df9541e7650876413cde555eb3d285be4b (patch)
tree0f69e63cfabdc328e381ecee2f0bc8358440752a /lib/MC/MCStreamer.cpp
parent07b7f672a066317ffc8224c61dc3b72ce857f24d (diff)
downloadllvm-2df9f8df9541e7650876413cde555eb3d285be4b.tar.gz
llvm-2df9f8df9541e7650876413cde555eb3d285be4b.tar.bz2
llvm-2df9f8df9541e7650876413cde555eb3d285be4b.tar.xz
Initialize member variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138548 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCStreamer.cpp')
-rw-r--r--lib/MC/MCStreamer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/MC/MCStreamer.cpp b/lib/MC/MCStreamer.cpp
index 7e3d7a6886..0fbf3875f1 100644
--- a/lib/MC/MCStreamer.cpp
+++ b/lib/MC/MCStreamer.cpp
@@ -22,7 +22,8 @@ using namespace llvm;
MCStreamer::MCStreamer(MCContext &Ctx) : Context(Ctx), EmitEHFrame(true),
EmitDebugFrame(false),
- CurrentW64UnwindInfo(0) {
+ CurrentW64UnwindInfo(0),
+ LastSymbol(0) {
const MCSection *section = NULL;
SectionStack.push_back(std::make_pair(section, section));
}