1 //===-- XCoreMCAsmInfo.cpp - XCore asm properties -------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #include "XCoreMCAsmInfo.h"
11 #include "llvm/ADT/StringRef.h"
14 void XCoreMCAsmInfo::anchor() { }
16 XCoreMCAsmInfo::XCoreMCAsmInfo(StringRef TT) {
17 SupportsDebugInformation = true;
18 Data16bitsDirective = "\t.short\t";
19 Data32bitsDirective = "\t.long\t";
20 Data64bitsDirective = 0;
21 ZeroDirective = "\t.space\t";
24 PrivateGlobalPrefix = ".L";
25 AscizDirective = ".asciiz";
27 HiddenVisibilityAttr = MCSA_Invalid;
28 HiddenDeclarationVisibilityAttr = MCSA_Invalid;
29 ProtectedVisibilityAttr = MCSA_Invalid;
33 ExceptionsType = ExceptionHandling::DwarfCFI;
34 DwarfRegNumForCFI = true;