diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-09-02 18:53:37 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-09-02 18:53:37 +0000 |
commit | 1674b0b0e4972b844833f253286cbf99a6e99d6e (patch) | |
tree | 14ea7fe3f3ffc71b12eb5dd1dadb633812d116aa /lib/MC/MCStreamer.cpp | |
parent | 3e234e757965a3c30f31227b60575841441368b6 (diff) | |
download | external_llvm-1674b0b0e4972b844833f253286cbf99a6e99d6e.zip external_llvm-1674b0b0e4972b844833f253286cbf99a6e99d6e.tar.gz external_llvm-1674b0b0e4972b844833f253286cbf99a6e99d6e.tar.bz2 |
Add AsmParser support for the ELF .previous directive. Patch by Roman Divacky.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112849 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCStreamer.cpp')
-rw-r--r-- | lib/MC/MCStreamer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/MC/MCStreamer.cpp b/lib/MC/MCStreamer.cpp index f682721..3e9d02e 100644 --- a/lib/MC/MCStreamer.cpp +++ b/lib/MC/MCStreamer.cpp @@ -15,7 +15,8 @@ #include <cstdlib> using namespace llvm; -MCStreamer::MCStreamer(MCContext &Ctx) : Context(Ctx), CurSection(0) { +MCStreamer::MCStreamer(MCContext &Ctx) : Context(Ctx), CurSection(0), + PrevSection(0) { } MCStreamer::~MCStreamer() { |