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 16 using namespace llvm; 17 18 AArch64ELFMCAsmInfo::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 WeakRefDirective = "\t.weak\t"; 35 36 HasLEB128 = true; 37 SupportsDebugInformation = true; 38 39 // Exceptions handling 40 ExceptionsType = ExceptionHandling::DwarfCFI; 41 } 42