1 //===-- AArch64MCAsmInfo.cpp - AArch64 asm properties ---------------------===//
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 AArch64MCAsmInfo properties.
12 //===----------------------------------------------------------------------===//
14 #include "AArch64MCAsmInfo.h"
18 AArch64ELFMCAsmInfo::AArch64ELFMCAsmInfo() {
21 // ".comm align is in bytes but .align is pow-2."
22 AlignmentIsInBytes = false;
25 PrivateGlobalPrefix = ".L";
26 Code32Directive = ".code\t32";
28 Data16bitsDirective = "\t.hword\t";
29 Data32bitsDirective = "\t.word\t";
30 Data64bitsDirective = "\t.xword\t";
32 UseDataRegionDirectives = true;
34 WeakRefDirective = "\t.weak\t";
37 SupportsDebugInformation = true;
39 // Exceptions handling
40 ExceptionsType = ExceptionHandling::DwarfCFI;