summaryrefslogtreecommitdiff
path: root/lib/MC/MCLoggingStreamer.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-02-16 01:08:29 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-02-16 01:08:29 +0000
commit7768a9dce14431018133cd586f5c8ce3e057f069 (patch)
tree96d6d88654a2520802874c021b320394bfe2e1ff /lib/MC/MCLoggingStreamer.cpp
parente32effb02f28025bcbb1eb6b673f46f8d072627b (diff)
downloadllvm-7768a9dce14431018133cd586f5c8ce3e057f069.tar.gz
llvm-7768a9dce14431018133cd586f5c8ce3e057f069.tar.bz2
llvm-7768a9dce14431018133cd586f5c8ce3e057f069.tar.xz
Add support for pushsection and popsection. Patch by Joerg Sonnenberger.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125629 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCLoggingStreamer.cpp')
-rw-r--r--lib/MC/MCLoggingStreamer.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/MC/MCLoggingStreamer.cpp b/lib/MC/MCLoggingStreamer.cpp
index d947481383..012c7f62f8 100644
--- a/lib/MC/MCLoggingStreamer.cpp
+++ b/lib/MC/MCLoggingStreamer.cpp
@@ -48,10 +48,9 @@ public:
return Child->AddBlankLine();
}
- virtual void SwitchSection(const MCSection *Section) {
- CurSection = Section;
- LogCall("SwitchSection");
- return Child->SwitchSection(Section);
+ virtual void ChangeSection(const MCSection *Section) {
+ LogCall("ChangeSection");
+ return Child->ChangeSection(Section);
}
virtual void InitSections() {