LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SystemZMCAsmInfo.cpp
Go to the documentation of this file.
1 //===-- SystemZMCAsmInfo.cpp - SystemZ 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 "SystemZMCAsmInfo.h"
11 #include "llvm/MC/MCContext.h"
12 #include "llvm/MC/MCSectionELF.h"
13 
14 using namespace llvm;
15 
17  PointerSize = 8;
19  IsLittleEndian = false;
20 
21  CommentString = "#";
22  GlobalPrefix = "";
23  PrivateGlobalPrefix = ".L";
24  ZeroDirective = "\t.space\t";
25  Data64bitsDirective = "\t.quad\t";
28  HasLEB128 = true;
30 }
31 
32 const MCSection *
34  return Ctx.getELFSection(".note.GNU-stack", ELF::SHT_PROGBITS,
36 }
const char * GlobalPrefix
Definition: MCAsmInfo.h:120
const MCSectionELF * getELFSection(StringRef Section, unsigned Type, unsigned Flags, SectionKind Kind)
Definition: MCContext.cpp:244
const char * Data64bitsDirective
Definition: MCAsmInfo.h:179
const char * ZeroDirective
Definition: MCAsmInfo.h:162
bool IsLittleEndian
Definition: MCAsmInfo.h:59
unsigned CalleeSaveStackSlotSize
Definition: MCAsmInfo.h:55
ExceptionHandling::ExceptionsType ExceptionsType
SupportsExceptionHandling - True if target supports exception handling.
Definition: MCAsmInfo.h:300
const char * PrivateGlobalPrefix
Definition: MCAsmInfo.h:125
bool UsesELFSectionDirectiveForBSS
Definition: MCAsmInfo.h:199
virtual const MCSection * getNonexecutableStackSection(MCContext &Ctx) const LLVM_OVERRIDE
const char * CommentString
Definition: MCAsmInfo.h:110
unsigned PointerSize
Definition: MCAsmInfo.h:50
bool SupportsDebugInformation
Definition: MCAsmInfo.h:297
bool HasLEB128
HasLEB128 - True if target asm supports leb128 directives.
Definition: MCAsmInfo.h:293
static SectionKind getMetadata()
Definition: SectionKind.h:207
SystemZMCAsmInfo(StringRef TT)