null streamer needs to maintain the current section as well.

llvm-svn: 79343
This commit is contained in:
Chris Lattner 2009-08-18 16:46:29 +00:00
parent a192947509
commit f446070b62
1 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,9 @@ namespace {
/// @name MCStreamer Interface
/// @{
virtual void SwitchSection(const MCSection *Section) {}
virtual void SwitchSection(const MCSection *Section) {
CurSection = Section;
}
virtual void EmitLabel(MCSymbol *Symbol) {}