LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ARMMCAsmInfo.cpp
Go to the documentation of this file.
1 //===-- ARMMCAsmInfo.cpp - ARM 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 // This file contains the declarations of the ARMMCAsmInfo properties.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #include "ARMMCAsmInfo.h"
16 
17 using namespace llvm;
18 
20 EnableARMEHABI("arm-enable-ehabi", cl::Hidden,
21  cl::desc("Generate ARM EHABI tables"),
22  cl::init(false));
23 
24 
25 void ARMMCAsmInfoDarwin::anchor() { }
26 
29  CommentString = "@";
30  Code16Directive = ".code\t16";
31  Code32Directive = ".code\t32";
33 
35 
36  // Exceptions handling
38 }
39 
40 void ARMELFMCAsmInfo::anchor() { }
41 
43  // ".comm align is in bytes but .align is pow-2."
44  AlignmentIsInBytes = false;
45 
47  CommentString = "@";
48  PrivateGlobalPrefix = ".L";
49  Code16Directive = ".code\t16";
50  Code32Directive = ".code\t32";
51 
52  HasLEB128 = true;
54 
55  // Exceptions handling
56  if (EnableARMEHABI)
58 }
const char * Code16Directive
Definition: MCAsmInfo.h:140
cl::opt< bool > EnableARMEHABI("arm-enable-ehabi", cl::Hidden, cl::desc("Generate ARM EHABI tables"), cl::init(false))
const char * Data64bitsDirective
Definition: MCAsmInfo.h:179
ExceptionHandling::ExceptionsType ExceptionsType
SupportsExceptionHandling - True if target supports exception handling.
Definition: MCAsmInfo.h:300
bool AlignmentIsInBytes
Definition: MCAsmInfo.h:219
const char * PrivateGlobalPrefix
Definition: MCAsmInfo.h:125
const char * Code32Directive
Definition: MCAsmInfo.h:141
const char * CommentString
Definition: MCAsmInfo.h:110
initializer< Ty > init(const Ty &Val)
Definition: CommandLine.h:314
bool SupportsDebugInformation
Definition: MCAsmInfo.h:297
bool HasLEB128
HasLEB128 - True if target asm supports leb128 directives.
Definition: MCAsmInfo.h:293
bool UseDataRegionDirectives
Definition: MCAsmInfo.h:154