summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCAsmInfoCOFF.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-23 06:53:23 +0000
committerChris Lattner <sabre@nondot.org>2010-01-23 06:53:23 +0000
commit0bfd279b37c9039fb093f871f8831e85bd46649d (patch)
tree310cc81be4c6461af224d49f1d25a6bb21f45e5e /llvm/lib/MC/MCAsmInfoCOFF.cpp
parent685508cf494ee73690f77fc929382f53b157c1ca (diff)
downloadbcm5719-llvm-0bfd279b37c9039fb093f871f8831e85bd46649d.tar.gz
bcm5719-llvm-0bfd279b37c9039fb093f871f8831e85bd46649d.zip
mcize visibility directives.
llvm-svn: 94295
Diffstat (limited to 'llvm/lib/MC/MCAsmInfoCOFF.cpp')
-rw-r--r--llvm/lib/MC/MCAsmInfoCOFF.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCAsmInfoCOFF.cpp b/llvm/lib/MC/MCAsmInfoCOFF.cpp
index 1b27bf026ec..5ca66b56d57 100644
--- a/llvm/lib/MC/MCAsmInfoCOFF.cpp
+++ b/llvm/lib/MC/MCAsmInfoCOFF.cpp
@@ -22,11 +22,13 @@ MCAsmInfoCOFF::MCAsmInfoCOFF() {
COMMDirectiveTakesAlignment = false;
HasDotTypeDotSizeDirective = false;
HasSingleParameterDotFile = false;
- HiddenDirective = NULL;
PrivateGlobalPrefix = "L"; // Prefix for private global symbols
WeakRefDirective = "\t.weak\t";
LinkOnceDirective = "\t.linkonce same_size\n";
SetDirective = "\t.set\t";
+
+ // Doesn't support visibility:
+ HiddenVisibilityAttr = ProtectedVisibilityAttr = MCSA_Invalid;
// Set up DWARF directives
HasLEB128 = true; // Target asm supports leb128 directives (little-endian)
OpenPOWER on IntegriCloud