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;
53 ARMELFMCAsmInfo::ARMELFMCAsmInfo() {
54 // ".comm align is in bytes but .align is pow-2."
55 AlignmentIsInBytes = false;
57 Data64bitsDirective = 0;
61 PrivateGlobalPrefix = ".L";
62 WeakRefDirective = "\t.weak\t";
63 HasLCOMMDirective = true;
65 DwarfRequiresFrameSection = false;
67 SupportsDebugInformation = true;