LLVM  9.0.0svn
ARCMCAsmInfo.cpp
Go to the documentation of this file.
1 //===- ARCMCAsmInfo.cpp - ARC asm properties --------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #include "ARCMCAsmInfo.h"
10 using namespace llvm;
11 
12 void ARCMCAsmInfo::anchor() {}
13 
16  Data16bitsDirective = "\t.short\t";
17  Data32bitsDirective = "\t.word\t";
18  Data64bitsDirective = nullptr;
19  ZeroDirective = "\t.space\t";
20  CommentString = ";";
21 
23  AllowAtInName = true;
27 
28  // Debug
30  DwarfRegNumForCFI = true;
31 }
bool DwarfRegNumForCFI
True if dwarf register numbers are printed instead of symbolic register names in .cfi_* directives.
Definition: MCAsmInfo.h:349
This class represents lattice values for constants.
Definition: AllocatorList.h:23
Not a valid directive.
Definition: MCDirectives.h:19
const char * Data64bitsDirective
Definition: MCAsmInfo.h:192
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:173
StringRef CommentString
This indicates the comment character used by the assembler.
Definition: MCAsmInfo.h:113
bool UsesELFSectionDirectiveForBSS
This is true if this target uses ELF '.section' directive before the '.bss' one.
Definition: MCAsmInfo.h:220
MCSymbolAttr HiddenVisibilityAttr
This attribute, if not MCSA_Invalid, is used to declare a symbol as having hidden visibility...
Definition: MCAsmInfo.h:317
bool AllowAtInName
This is true if the assembler allows @ characters in symbol names.
Definition: MCAsmInfo.h:156
bool SupportsDebugInformation
True if target supports emission of debugging information.
Definition: MCAsmInfo.h:331
ARCMCAsmInfo(const Triple &TT)
const char * Data16bitsDirective
Definition: MCAsmInfo.h:190
Triple - Helper class for working with autoconf configuration names.
Definition: Triple.h:43
const char * Data32bitsDirective
Definition: MCAsmInfo.h:191
MCSymbolAttr ProtectedVisibilityAttr
This attribute, if not MCSA_Invalid, is used to declare a symbol as having protected visibility...
Definition: MCAsmInfo.h:325
ExceptionHandling ExceptionsType
Exception handling format for the target. Defaults to None.
Definition: MCAsmInfo.h:334
MCSymbolAttr HiddenDeclarationVisibilityAttr
This attribute, if not MCSA_Invalid, is used to declare an undefined symbol as having hidden visibili...
Definition: MCAsmInfo.h:321
DWARF-like instruction based exceptions.