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 const char *const llvm::arm_asm_table[] = {
43 ARMDarwinTargetAsmInfo::ARMDarwinTargetAsmInfo() {
44 ZeroDirective = "\t.space\t";
45 ZeroFillDirective = "\t.zerofill\t"; // Uses .zerofill
46 SetDirective = "\t.set\t";
47 ProtectedDirective = NULL;
48 HasDotTypeDotSizeDirective = false;
49 SupportsDebugInformation = true;
52 ARMELFTargetAsmInfo::ARMELFTargetAsmInfo() {
55 AbsoluteDebugSectionOffsets = true;
56 PrivateGlobalPrefix = ".L";
57 WeakRefDirective = "\t.weak\t";
58 SetDirective = "\t.set\t";
59 DwarfRequiresFrameSection = false;
61 SupportsDebugInformation = true;
64 // Instantiate default implementation.
65 TEMPLATE_INSTANTIATION(class ARMTargetAsmInfo<DarwinTargetAsmInfo>);
66 TEMPLATE_INSTANTIATION(class ARMTargetAsmInfo<TargetAsmInfo>);