1 //===-- ARMMCAsmInfo.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 ARMMCAsmInfo properties.
12 //===----------------------------------------------------------------------===//
14 #include "ARMMCAsmInfo.h"
17 static const char *const arm_asm_table[] = {
43 ARMMCAsmInfoDarwin::ARMMCAsmInfoDarwin() {
44 AsmTransCBE = arm_asm_table;
45 Data64bitsDirective = 0;
47 COMMDirectiveTakesAlignment = false;
48 SupportsDebugInformation = true;
50 // Exceptions handling
51 ExceptionsType = ExceptionHandling::SjLj;
52 AbsoluteEHSectionOffsets = false;
55 ARMELFMCAsmInfo::ARMELFMCAsmInfo() {
56 AlignmentIsInBytes = false;
57 Data64bitsDirective = 0;
59 COMMDirectiveTakesAlignment = false;
63 AbsoluteDebugSectionOffsets = true;
64 PrivateGlobalPrefix = ".L";
65 WeakRefDirective = "\t.weak\t";
66 SetDirective = "\t.set\t";
67 LCOMMDirective = "\t.lcomm\t";
69 DwarfRequiresFrameSection = false;
71 SupportsDebugInformation = true;