summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/MC/MCNullStreamer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm/lib/MC/MCNullStreamer.cpp')
-rw-r--r--contrib/llvm/lib/MC/MCNullStreamer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/llvm/lib/MC/MCNullStreamer.cpp b/contrib/llvm/lib/MC/MCNullStreamer.cpp
index 5332ade..f7a2f20 100644
--- a/contrib/llvm/lib/MC/MCNullStreamer.cpp
+++ b/contrib/llvm/lib/MC/MCNullStreamer.cpp
@@ -26,6 +26,7 @@ namespace {
/// @{
virtual void SwitchSection(const MCSection *Section) {
+ PrevSection = CurSection;
CurSection = Section;
}
OpenPOWER on IntegriCloud