diff options
author | Chris Lattner <sabre@nondot.org> | 2010-05-07 21:49:09 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-05-07 21:49:09 +0000 |
commit | 6e5ce287b0e53c264af0ba37169ad964e19b5bb7 (patch) | |
tree | 8cdeb21cba6baeadca2bb4428765d0a584ea2af0 /lib/MC/MCSectionCOFF.cpp | |
parent | 9c00487dc33b21061a5daf3ef9c2455715683f3f (diff) | |
download | external_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.cpp | 2 |
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"; } |