summaryrefslogtreecommitdiff
path: root/lib/MC/MCAsmInfoCOFF.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-09-23 00:13:02 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-09-23 00:13:02 +0000
commit7666c7e4d26aadda01e49d04c81b3ca047f74142 (patch)
tree9cadff3a023ae679e1637529915aef5b7c035209 /lib/MC/MCAsmInfoCOFF.cpp
parenta6176adc8aad5d37268f40e49ae58c0eae2323c2 (diff)
downloadllvm-7666c7e4d26aadda01e49d04c81b3ca047f74142.tar.gz
llvm-7666c7e4d26aadda01e49d04c81b3ca047f74142.tar.bz2
llvm-7666c7e4d26aadda01e49d04c81b3ca047f74142.tar.xz
PR10989: Don't print .hidden on Windows.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140356 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCAsmInfoCOFF.cpp')
-rw-r--r--lib/MC/MCAsmInfoCOFF.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/MC/MCAsmInfoCOFF.cpp b/lib/MC/MCAsmInfoCOFF.cpp
index cf6026b4ef..365ddc49c6 100644
--- a/lib/MC/MCAsmInfoCOFF.cpp
+++ b/lib/MC/MCAsmInfoCOFF.cpp
@@ -27,7 +27,8 @@ MCAsmInfoCOFF::MCAsmInfoCOFF() {
LinkOnceDirective = "\t.linkonce discard\n";
// Doesn't support visibility:
- HiddenVisibilityAttr = ProtectedVisibilityAttr = MCSA_Invalid;
+ HiddenVisibilityAttr = HiddenDeclarationVisibilityAttr = MCSA_Invalid;
+ ProtectedVisibilityAttr = MCSA_Invalid;
// Set up DWARF directives
HasLEB128 = true; // Target asm supports leb128 directives (little-endian)