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(const Triple &Triple)
44 : DarwinTargetAsmInfo(Triple) {
45 AsmTransCBE = arm_asm_table;
46 Data64bitsDirective = 0;
48 COMMDirectiveTakesAlignment = false;
49 SupportsDebugInformation = true;
51 // Exceptions handling
52 ExceptionsType = ExceptionHandling::SjLj;
53 AbsoluteEHSectionOffsets = false;
56 ARMELFTargetAsmInfo::ARMELFTargetAsmInfo() {
57 AlignmentIsInBytes = false;
58 Data64bitsDirective = 0;
60 COMMDirectiveTakesAlignment = false;
64 AbsoluteDebugSectionOffsets = true;
65 PrivateGlobalPrefix = ".L";
66 WeakRefDirective = "\t.weak\t";
67 SetDirective = "\t.set\t";
68 LCOMMDirective = "\t.lcomm\t";
70 DwarfRequiresFrameSection = false;
72 SupportsDebugInformation = true;