commit | e39017cb9735faa156e11799eaaffeeaaff18244 | [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 | 34f06355f2105e0213c5d6eca55fd26092b3b20a | |
parent | 1ba95136f2a006f90ac819cf44b4941998030f1b [diff] [blame] |
Add AsmParser support for the ELF .previous directive. Patch by Roman Divacky. llvm-svn: 112849
diff --git a/llvm/lib/MC/MCNullStreamer.cpp b/llvm/lib/MC/MCNullStreamer.cpp index 5332ade..f7a2f20 100644 --- a/llvm/lib/MC/MCNullStreamer.cpp +++ b/llvm/lib/MC/MCNullStreamer.cpp
@@ -26,6 +26,7 @@ /// @{ virtual void SwitchSection(const MCSection *Section) { + PrevSection = CurSection; CurSection = Section; }