LLVM  8.0.1
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 using namespace llvm;
12 
13 void XCoreMCAsmInfo::anchor() { }
14 
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 
28 
29  // Debug
31  DwarfRegNumForCFI = true;
32 }
33 
XCoreMCAsmInfo(const Triple &TT)
bool DwarfRegNumForCFI
True if dwarf register numbers are printed instead of symbolic register names in .cfi_* directives.
Definition: MCAsmInfo.h:350
This class represents lattice values for constants.
Definition: AllocatorList.h:24
Not a valid directive.
Definition: MCDirectives.h:20
const char * Data64bitsDirective
Definition: MCAsmInfo.h:193
const char * ZeroDirective
This should be set to the directive used to get some number of zero bytes emitted to the current sect...
Definition: MCAsmInfo.h:174
StringRef CommentString
This indicates the comment character used by the assembler.
Definition: MCAsmInfo.h:114
MCSymbolAttr HiddenVisibilityAttr
This attribute, if not MCSA_Invalid, is used to declare a symbol as having hidden visibility...
Definition: MCAsmInfo.h:318
const char * AscizDirective
If not null, this allows for special handling of zero terminated strings on this target.
Definition: MCAsmInfo.h:184
bool SupportsDebugInformation
True if target supports emission of debugging information.
Definition: MCAsmInfo.h:332
const char * Data16bitsDirective
Definition: MCAsmInfo.h:191
Triple - Helper class for working with autoconf configuration names.
Definition: Triple.h:44
const char * Data32bitsDirective
Definition: MCAsmInfo.h:192
MCSymbolAttr ProtectedVisibilityAttr
This attribute, if not MCSA_Invalid, is used to declare a symbol as having protected visibility...
Definition: MCAsmInfo.h:326
ExceptionHandling ExceptionsType
Exception handling format for the target. Defaults to None.
Definition: MCAsmInfo.h:335
MCSymbolAttr HiddenDeclarationVisibilityAttr
This attribute, if not MCSA_Invalid, is used to declare an undefined symbol as having hidden visibili...
Definition: MCAsmInfo.h:322
No exception support.