summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARC/MCTargetDesc/ARCMCAsmInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/ARC/MCTargetDesc/ARCMCAsmInfo.cpp')
-rw-r--r--llvm/lib/Target/ARC/MCTargetDesc/ARCMCAsmInfo.cpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARC/MCTargetDesc/ARCMCAsmInfo.cpp b/llvm/lib/Target/ARC/MCTargetDesc/ARCMCAsmInfo.cpp
new file mode 100644
index 00000000000..5d3fb52cfb4
--- /dev/null
+++ b/llvm/lib/Target/ARC/MCTargetDesc/ARCMCAsmInfo.cpp
@@ -0,0 +1,32 @@
+//===- ARCMCAsmInfo.cpp - ARC asm properties --------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#include "ARCMCAsmInfo.h"
+using namespace llvm;
+
+void ARCMCAsmInfo::anchor() {}
+
+ARCMCAsmInfo::ARCMCAsmInfo(const Triple &TT) {
+ SupportsDebugInformation = true;
+ Data16bitsDirective = "\t.short\t";
+ Data32bitsDirective = "\t.word\t";
+ Data64bitsDirective = nullptr;
+ ZeroDirective = "\t.space\t";
+ CommentString = ";";
+
+ UsesELFSectionDirectiveForBSS = true;
+ AllowAtInName = true;
+ HiddenVisibilityAttr = MCSA_Invalid;
+ HiddenDeclarationVisibilityAttr = MCSA_Invalid;
+ ProtectedVisibilityAttr = MCSA_Invalid;
+
+ // Debug
+ ExceptionsType = ExceptionHandling::DwarfCFI;
+ DwarfRegNumForCFI = true;
+}
OpenPOWER on IntegriCloud