XCoreMCAsmInfo.cpp revision 302408
1//===-- XCoreMCAsmInfo.cpp - XCore asm properties -------------------------===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// 9 10#include "XCoreMCAsmInfo.h" 11using namespace llvm; 12 13void XCoreMCAsmInfo::anchor() { } 14 15XCoreMCAsmInfo::XCoreMCAsmInfo(const Triple &TT) { 16 SupportsDebugInformation = true; 17 Data16bitsDirective = "\t.short\t"; 18 Data32bitsDirective = "\t.long\t"; 19 Data64bitsDirective = nullptr; 20 ZeroDirective = "\t.space\t"; 21 CommentString = "#"; 22 23 AscizDirective = ".asciiz"; 24 25 HiddenVisibilityAttr = MCSA_Invalid; 26 HiddenDeclarationVisibilityAttr = MCSA_Invalid; 27 ProtectedVisibilityAttr = MCSA_Invalid; 28 29 // Debug 30 ExceptionsType = ExceptionHandling::DwarfCFI; 31 DwarfRegNumForCFI = true; 32} 33 34