From 72e57f94416b5bc293d5f735ee81318d3ff16590 Mon Sep 17 00:00:00 2001 From: Nathan Jeffords Date: Sun, 9 May 2010 05:49:00 +0000 Subject: [PATCH] test commit, added a comment to MCSectionCOFF::PrintSwitchToSection function git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103372 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/MC/MCSectionCOFF.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/MC/MCSectionCOFF.cpp b/lib/MC/MCSectionCOFF.cpp index d15146654eb..103a80f1e37 100644 --- a/lib/MC/MCSectionCOFF.cpp +++ b/lib/MC/MCSectionCOFF.cpp @@ -31,6 +31,7 @@ bool MCSectionCOFF::ShouldOmitSectionDirective(StringRef Name, void MCSectionCOFF::PrintSwitchToSection(const MCAsmInfo &MAI, raw_ostream &OS) const { + // standard sections don't require the '.section' if (ShouldOmitSectionDirective(SectionName, MAI)) { OS << '\t' << getSectionName() << '\n'; return; -- 2.34.1