aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MC/MCSectionCOFF.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-05-07 21:49:09 +0000
committerChris Lattner <sabre@nondot.org>2010-05-07 21:49:09 +0000
commit6e5ce287b0e53c264af0ba37169ad964e19b5bb7 (patch)
tree8cdeb21cba6baeadca2bb4428765d0a584ea2af0 /lib/MC/MCSectionCOFF.cpp
parent9c00487dc33b21061a5daf3ef9c2455715683f3f (diff)
downloadexternal_llvm-6e5ce287b0e53c264af0ba37169ad964e19b5bb7.zip
external_llvm-6e5ce287b0e53c264af0ba37169ad964e19b5bb7.tar.gz
external_llvm-6e5ce287b0e53c264af0ba37169ad964e19b5bb7.tar.bz2
add COFF support for COMDAT sections, patch by Nathan Jeffords!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103304 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCSectionCOFF.cpp')
-rw-r--r--lib/MC/MCSectionCOFF.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCSectionCOFF.cpp b/lib/MC/MCSectionCOFF.cpp
index f26768a..d151466 100644
--- a/lib/MC/MCSectionCOFF.cpp
+++ b/lib/MC/MCSectionCOFF.cpp
@@ -43,7 +43,7 @@ void MCSectionCOFF::PrintSwitchToSection(const MCAsmInfo &MAI,
OS << 'w';
else
OS << 'r';
- if (getFlags() & MCSectionCOFF::IMAGE_SCN_MEM_DISCARDABLE)
+ if (getCharacteristics() & MCSectionCOFF::IMAGE_SCN_MEM_DISCARDABLE)
OS << 'n';
OS << "\"\n";
}