1 //===-- ARMTargetAsmInfo.cpp - ARM asm properties ---------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains the declarations of the ARMTargetAsmInfo properties.
12 //===----------------------------------------------------------------------===//
14 #include "ARMTargetAsmInfo.h"
17 static const char *const arm_asm_table[] = {
43 ARMDarwinTargetAsmInfo::ARMDarwinTargetAsmInfo() {
44 AsmTransCBE = arm_asm_table;
45 AlignmentIsInBytes = false;
46 Data64bitsDirective = 0;
48 COMMDirectiveTakesAlignment = false;
49 InlineAsmStart = "@ InlineAsm Start";
50 InlineAsmEnd = "@ InlineAsm End";
53 SetDirective = "\t.set\t";
54 ProtectedDirective = NULL;
55 HasDotTypeDotSizeDirective = false;
56 SupportsDebugInformation = true;
58 // Exceptions handling
59 ExceptionsType = ExceptionHandling::SjLj;
60 GlobalEHDirective = "\t.globl\t";
61 SupportsWeakOmittedEHFrame = false;
62 AbsoluteEHSectionOffsets = false;
65 ARMELFTargetAsmInfo::ARMELFTargetAsmInfo() {
66 AlignmentIsInBytes = false;
67 Data64bitsDirective = 0;
69 COMMDirectiveTakesAlignment = false;
70 InlineAsmStart = "@ InlineAsm Start";
71 InlineAsmEnd = "@ InlineAsm End";
75 AbsoluteDebugSectionOffsets = true;
76 PrivateGlobalPrefix = ".L";
77 WeakRefDirective = "\t.weak\t";
78 SetDirective = "\t.set\t";
79 LCOMMDirective = "\t.lcomm\t";
81 DwarfRequiresFrameSection = false;
83 SupportsDebugInformation = true;