summaryrefslogtreecommitdiff
path: root/lib/Target/XCore/MCTargetDesc/XCoreMCAsmInfo.cpp
diff options
context:
space:
mode:
authorRobert Lytton <robert@xmos.com>2013-10-11 10:27:00 +0000
committerRobert Lytton <robert@xmos.com>2013-10-11 10:27:00 +0000
commit4315b2b50413da09c3ac9bce07c77842f02ac929 (patch)
treecd6351a538b19b57170da9627e33b7f2e584b17f /lib/Target/XCore/MCTargetDesc/XCoreMCAsmInfo.cpp
parentfb312f9f5a9f8cd8be1dbeaf011768e186eb8f98 (diff)
downloadllvm-4315b2b50413da09c3ac9bce07c77842f02ac929.tar.gz
llvm-4315b2b50413da09c3ac9bce07c77842f02ac929.tar.bz2
llvm-4315b2b50413da09c3ac9bce07c77842f02ac929.tar.xz
XCore target does not emit '.hidden' or '.protected' attributes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192433 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/MCTargetDesc/XCoreMCAsmInfo.cpp')
-rw-r--r--lib/Target/XCore/MCTargetDesc/XCoreMCAsmInfo.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/XCore/MCTargetDesc/XCoreMCAsmInfo.cpp b/lib/Target/XCore/MCTargetDesc/XCoreMCAsmInfo.cpp
index 235028cf59..19b97efeaf 100644
--- a/lib/Target/XCore/MCTargetDesc/XCoreMCAsmInfo.cpp
+++ b/lib/Target/XCore/MCTargetDesc/XCoreMCAsmInfo.cpp
@@ -25,6 +25,10 @@ XCoreMCAsmInfo::XCoreMCAsmInfo(StringRef TT) {
AscizDirective = ".asciiz";
WeakRefDirective = "\t.weak\t";
+ HiddenVisibilityAttr = MCSA_Invalid;
+ HiddenDeclarationVisibilityAttr = MCSA_Invalid;
+ ProtectedVisibilityAttr = MCSA_Invalid;
+
// Debug
HasLEB128 = true;
}