LLVM API Documentation

XCoreMCAsmInfo.cpp
Go to the documentation of this file.
00001 //===-- XCoreMCAsmInfo.cpp - XCore asm properties -------------------------===//
00002 //
00003 //                     The LLVM Compiler Infrastructure
00004 //
00005 // This file is distributed under the University of Illinois Open Source
00006 // License. See LICENSE.TXT for details.
00007 //
00008 //===----------------------------------------------------------------------===//
00009 
00010 #include "XCoreMCAsmInfo.h"
00011 #include "llvm/ADT/StringRef.h"
00012 using namespace llvm;
00013 
00014 void XCoreMCAsmInfo::anchor() { }
00015 
00016 XCoreMCAsmInfo::XCoreMCAsmInfo(StringRef TT) {
00017   SupportsDebugInformation = true;
00018   Data16bitsDirective = "\t.short\t";
00019   Data32bitsDirective = "\t.long\t";
00020   Data64bitsDirective = nullptr;
00021   ZeroDirective = "\t.space\t";
00022   CommentString = "#";
00023 
00024   AscizDirective = ".asciiz";
00025 
00026   HiddenVisibilityAttr = MCSA_Invalid;
00027   HiddenDeclarationVisibilityAttr = MCSA_Invalid;
00028   ProtectedVisibilityAttr = MCSA_Invalid;
00029 
00030   // Debug
00031   ExceptionsType = ExceptionHandling::DwarfCFI;
00032   DwarfRegNumForCFI = true;
00033 }
00034