LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
XCoreMCAsmInfo.cpp
Go to the documentation of this file.
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"
11 #include "llvm/ADT/StringRef.h"
12 using namespace llvm;
13 
14 void XCoreMCAsmInfo::anchor() { }
15 
18  Data16bitsDirective = "\t.short\t";
19  Data32bitsDirective = "\t.long\t";
21  ZeroDirective = "\t.space\t";
22  CommentString = "#";
23 
24  PrivateGlobalPrefix = ".L";
25  AscizDirective = ".asciiz";
26 
30 
31  // Debug
32  HasLEB128 = true;
34  DwarfRegNumForCFI = true;
35 }
36 
bool DwarfRegNumForCFI
Definition: MCAsmInfo.h:308
Not a valid directive.
Definition: MCDirectives.h:20
const char * Data64bitsDirective
Definition: MCAsmInfo.h:179
const char * ZeroDirective
Definition: MCAsmInfo.h:162
ExceptionHandling::ExceptionsType ExceptionsType
SupportsExceptionHandling - True if target supports exception handling.
Definition: MCAsmInfo.h:300
const char * PrivateGlobalPrefix
Definition: MCAsmInfo.h:125
MCSymbolAttr HiddenVisibilityAttr
Definition: MCAsmInfo.h:279
const char * CommentString
Definition: MCAsmInfo.h:110
const char * AscizDirective
Definition: MCAsmInfo.h:171
bool SupportsDebugInformation
Definition: MCAsmInfo.h:297
const char * Data16bitsDirective
Definition: MCAsmInfo.h:177
bool HasLEB128
HasLEB128 - True if target asm supports leb128 directives.
Definition: MCAsmInfo.h:293
const char * Data32bitsDirective
Definition: MCAsmInfo.h:178
MCSymbolAttr ProtectedVisibilityAttr
Definition: MCAsmInfo.h:288
MCSymbolAttr HiddenDeclarationVisibilityAttr
Definition: MCAsmInfo.h:283
XCoreMCAsmInfo(StringRef TT)