aboutsummaryrefslogtreecommitdiff
path: root/lib/MC/MCAsmInfo.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
commit152a29bfa6fa505182658d046bc75626e10d67c3 (patch)
tree349b6840002462d1d3f7cb83a8eb9ff0c1d1cc4b /lib/MC/MCAsmInfo.cpp
parenta5ad93a10a5435f21090b09edb6b3a7e44967648 (diff)
mcize visibility directives.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94295 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCAsmInfo.cpp')
-rw-r--r--lib/MC/MCAsmInfo.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/MC/MCAsmInfo.cpp b/lib/MC/MCAsmInfo.cpp
index ef6dd071e0..debccaf4b1 100644
--- a/lib/MC/MCAsmInfo.cpp
+++ b/lib/MC/MCAsmInfo.cpp
@@ -61,9 +61,8 @@ MCAsmInfo::MCAsmInfo() {
WeakRefDirective = 0;
WeakDefDirective = 0;
LinkOnceDirective = 0;
- // FIXME: These are ELFish - move to ELFMAI.
- HiddenDirective = "\t.hidden\t";
- ProtectedDirective = "\t.protected\t";
+ HiddenVisibilityAttr = MCSA_Hidden;
+ ProtectedVisibilityAttr = MCSA_Protected;
AbsoluteDebugSectionOffsets = false;
AbsoluteEHSectionOffsets = false;
HasLEB128 = false;