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 SupportsDebugInformation = true;
49 // Exceptions handling
50 ExceptionsType = ExceptionHandling::SjLj;
51 AbsoluteEHSectionOffsets = false;
54 ARMELFMCAsmInfo::ARMELFMCAsmInfo() {
55 // ".comm align is in bytes but .align is pow-2."
56 AlignmentIsInBytes = false;
58 Data64bitsDirective = 0;
62 AbsoluteDebugSectionOffsets = true;
63 PrivateGlobalPrefix = ".L";
64 WeakRefDirective = "\t.weak\t";
65 HasLCOMMDirective = true;
67 DwarfRequiresFrameSection = false;
69 SupportsDebugInformation = true;