aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MC
diff options
context:
space:
mode:
authorNathan Jeffords <blunted2night@gmail.com>2010-05-09 05:49:00 +0000
committerNathan Jeffords <blunted2night@gmail.com>2010-05-09 05:49:00 +0000
commit0d9d15d6d04ae1d4a94f9bdea1b0bf0a4171903d (patch)
tree921f4337e5e4d0679c4ac0350f5a0590541d88a6 /lib/MC
parent97d966b271f6f3953fb530f4ec1cb6fe93d470d4 (diff)
downloadexternal_llvm-0d9d15d6d04ae1d4a94f9bdea1b0bf0a4171903d.zip
external_llvm-0d9d15d6d04ae1d4a94f9bdea1b0bf0a4171903d.tar.gz
external_llvm-0d9d15d6d04ae1d4a94f9bdea1b0bf0a4171903d.tar.bz2
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
Diffstat (limited to 'lib/MC')
-rw-r--r--lib/MC/MCSectionCOFF.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MC/MCSectionCOFF.cpp b/lib/MC/MCSectionCOFF.cpp
index d151466..103a80f 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;