diff options
Diffstat (limited to 'llvm/lib/MC/MCObjectStreamer.cpp')
-rw-r--r-- | llvm/lib/MC/MCObjectStreamer.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCObjectStreamer.cpp b/llvm/lib/MC/MCObjectStreamer.cpp index b8ed1d6..6dddaa4 100644 --- a/llvm/lib/MC/MCObjectStreamer.cpp +++ b/llvm/lib/MC/MCObjectStreamer.cpp @@ -313,6 +313,11 @@ bool MCObjectStreamer::changeSectionImpl(MCSection *Section, return getAssembler().registerSection(*Section); } +void MCObjectStreamer::switchSectionNoPrint(MCSection *Section) { + MCStreamer::switchSectionNoPrint(Section); + changeSection(Section, 0); +} + void MCObjectStreamer::emitAssignment(MCSymbol *Symbol, const MCExpr *Value) { getAssembler().registerSymbol(*Symbol); MCStreamer::emitAssignment(Symbol, Value); |