summaryrefslogtreecommitdiff
path: root/lib/MC/MCSectionCOFF.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2012-05-11 01:41:30 +0000
committerJim Grosbach <grosbach@apple.com>2012-05-11 01:41:30 +0000
commit2684d9e3c702b2ef9fd430155d94671d12fa994f (patch)
tree1c83c837a238ab003d394cf08ae901787bd608bc /lib/MC/MCSectionCOFF.cpp
parent639aa87bee77fe2d83f0978ae1eea53e49def324 (diff)
downloadllvm-2684d9e3c702b2ef9fd430155d94671d12fa994f.tar.gz
llvm-2684d9e3c702b2ef9fd430155d94671d12fa994f.tar.bz2
llvm-2684d9e3c702b2ef9fd430155d94671d12fa994f.tar.xz
Tidy up. Trailing whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156602 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCSectionCOFF.cpp')
-rw-r--r--lib/MC/MCSectionCOFF.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/MC/MCSectionCOFF.cpp b/lib/MC/MCSectionCOFF.cpp
index 90091f06e9..aac93775ae 100644
--- a/lib/MC/MCSectionCOFF.cpp
+++ b/lib/MC/MCSectionCOFF.cpp
@@ -20,7 +20,7 @@ MCSectionCOFF::~MCSectionCOFF() {} // anchor.
// should be printed before the section name
bool MCSectionCOFF::ShouldOmitSectionDirective(StringRef Name,
const MCAsmInfo &MAI) const {
-
+
// FIXME: Does .section .bss/.data/.text work everywhere??
if (Name == ".text" || Name == ".data" || Name == ".bss")
return true;
@@ -30,7 +30,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';
@@ -47,7 +47,7 @@ void MCSectionCOFF::PrintSwitchToSection(const MCAsmInfo &MAI,
if (getCharacteristics() & COFF::IMAGE_SCN_MEM_DISCARDABLE)
OS << 'n';
OS << "\"\n";
-
+
if (getCharacteristics() & COFF::IMAGE_SCN_LNK_COMDAT) {
switch (Selection) {
case COFF::IMAGE_COMDAT_SELECT_NODUPLICATES: