1//===-- AArch64MCAsmInfo.cpp - AArch64 asm properties ---------------------===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// 9// 10// This file contains the declarations of the AArch64MCAsmInfo properties. 11// 12//===----------------------------------------------------------------------===// 13 14#include "AArch64MCAsmInfo.h" 15 16using namespace llvm; 17 18AArch64ELFMCAsmInfo::AArch64ELFMCAsmInfo() { 19 PointerSize = 8; 20 21 // ".comm align is in bytes but .align is pow-2." 22 AlignmentIsInBytes = false; 23 24 CommentString = "//"; 25 PrivateGlobalPrefix = ".L"; 26 Code32Directive = ".code\t32"; 27 28 Data16bitsDirective = "\t.hword\t"; 29 Data32bitsDirective = "\t.word\t"; 30 Data64bitsDirective = "\t.xword\t"; 31 32 UseDataRegionDirectives = true; 33 34 HasLEB128 = true; 35 SupportsDebugInformation = true; 36 37 // Exceptions handling 38 ExceptionsType = ExceptionHandling::DwarfCFI; 39} 40 41// Pin the vtable to this file. 42void AArch64ELFMCAsmInfo::anchor() {} 43