null streamer needs to maintain the current section as well.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79343 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-08-18 16:46:29 +00:00
parent 1e02bf092a
commit 4d35fce60c

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) {}