commit | 1674b0b0e4972b844833f253286cbf99a6e99d6e | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Thu Sep 02 18:53:37 2010 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Thu Sep 02 18:53:37 2010 +0000 |
tree | 14ea7fe3f3ffc71b12eb5dd1dadb633812d116aa | |
parent | 3e234e757965a3c30f31227b60575841441368b6 [diff] [blame] |
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
diff --git a/lib/MC/MCNullStreamer.cpp b/lib/MC/MCNullStreamer.cpp index 5332ade..f7a2f20 100644 --- a/lib/MC/MCNullStreamer.cpp +++ b/lib/MC/MCNullStreamer.cpp
@@ -26,6 +26,7 @@ /// @{ virtual void SwitchSection(const MCSection *Section) { + PrevSection = CurSection; CurSection = Section; }