LLVM  10.0.0
MCAsmInfoXCOFF.cpp
Go to the documentation of this file.
1 //===- MC/MCAsmInfoXCOFF.cpp - XCOFF 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 
10 
11 using namespace llvm;
12 
13 void MCAsmInfoXCOFF::anchor() {}
14 
16  IsLittleEndian = false;
21  AsciiDirective = nullptr; // not supported
22  AscizDirective = nullptr; // not supported
24  HasDotLGloblDirective = true;
25  Data64bitsDirective = "\t.llong\t";
26  SupportsQuotedNames = false;
27 }
28 
30  // QualName is allowed for a MCSymbolXCOFF, and
31  // QualName contains '[' and ']'.
32  if (C == '[' || C == ']')
33  return true;
34 
36 }
uint64_t CallInst * C
LCOMM::LCOMMType LCOMMDirectiveAlignmentType
Describes if the .lcomm directive for the target supports an alignment argument and how it is interpr...
Definition: MCAsmInfo.h:275
This class represents lattice values for constants.
Definition: AllocatorList.h:23
const char * Data64bitsDirective
Definition: MCAsmInfo.h:197
bool SupportsQuotedNames
If this is true, symbol names with invalid characters will be printed in quotes.
Definition: MCAsmInfo.h:161
bool IsLittleEndian
True if target is little endian. Default is true.
Definition: MCAsmInfo.h:70
bool NeedsFunctionDescriptors
Definition: MCAsmInfo.h:404
bool HasDotTypeDotSizeDirective
True if the target has .type and .size directives, this is true for most ELF targets.
Definition: MCAsmInfo.h:283
const char * AsciiDirective
This directive allows emission of an ascii string with the standard C escape characters embedded into...
Definition: MCAsmInfo.h:183
const char * AscizDirective
If not null, this allows for special handling of zero terminated strings on this target.
Definition: MCAsmInfo.h:188
bool COMMDirectiveAlignmentIsInBytes
True is .comm's and .lcomms optional alignment is to be specified in bytes instead of log2(n)...
Definition: MCAsmInfo.h:271
bool isAcceptableChar(char C) const override
Return true if C is an acceptable character inside a symbol name.
virtual bool isAcceptableChar(char C) const
Return true if C is an acceptable character inside a symbol name.
Definition: MCAsmInfo.cpp:103
bool UseDotAlignForAlignment
True if .align is to be used for alignment.
Definition: MCAsmInfo.h:170
bool HasDotLGloblDirective
True if we have a .lglobl directive, which is used to emit the information of a static symbol into th...
Definition: MCAsmInfo.h:322