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 Data64bitsDirective = 0;
47 COMMDirectiveTakesAlignment = false;
48 InlineAsmStart = "@ InlineAsm Start";
49 InlineAsmEnd = "@ InlineAsm End";
51 SupportsDebugInformation = true;
53 // Exceptions handling
54 ExceptionsType = ExceptionHandling::SjLj;
55 AbsoluteEHSectionOffsets = false;
58 ARMELFTargetAsmInfo::ARMELFTargetAsmInfo() {
59 AlignmentIsInBytes = false;
60 Data64bitsDirective = 0;
62 COMMDirectiveTakesAlignment = false;
63 InlineAsmStart = "@ InlineAsm Start";
64 InlineAsmEnd = "@ InlineAsm End";
68 AbsoluteDebugSectionOffsets = true;
69 PrivateGlobalPrefix = ".L";
70 WeakRefDirective = "\t.weak\t";
71 SetDirective = "\t.set\t";
72 LCOMMDirective = "\t.lcomm\t";
74 DwarfRequiresFrameSection = false;
76 SupportsDebugInformation = true;