AArch64MCAsmInfo.cpp revision 249259
1249259Sdim//===-- AArch64MCAsmInfo.cpp - AArch64 asm properties ---------------------===//
2249259Sdim//
3249259Sdim//                     The LLVM Compiler Infrastructure
4249259Sdim//
5249259Sdim// This file is distributed under the University of Illinois Open Source
6249259Sdim// License. See LICENSE.TXT for details.
7249259Sdim//
8249259Sdim//===----------------------------------------------------------------------===//
9249259Sdim//
10249259Sdim// This file contains the declarations of the AArch64MCAsmInfo properties.
11249259Sdim//
12249259Sdim//===----------------------------------------------------------------------===//
13249259Sdim
14249259Sdim#include "AArch64MCAsmInfo.h"
15249259Sdim
16249259Sdimusing namespace llvm;
17249259Sdim
18249259SdimAArch64ELFMCAsmInfo::AArch64ELFMCAsmInfo() {
19249259Sdim  PointerSize = 8;
20249259Sdim
21249259Sdim  // ".comm align is in bytes but .align is pow-2."
22249259Sdim  AlignmentIsInBytes = false;
23249259Sdim
24249259Sdim  CommentString = "//";
25249259Sdim  PrivateGlobalPrefix = ".L";
26249259Sdim  Code32Directive = ".code\t32";
27249259Sdim
28249259Sdim  Data16bitsDirective = "\t.hword\t";
29249259Sdim  Data32bitsDirective = "\t.word\t";
30249259Sdim  Data64bitsDirective = "\t.xword\t";
31249259Sdim
32249259Sdim  UseDataRegionDirectives = true;
33249259Sdim
34249259Sdim  WeakRefDirective = "\t.weak\t";
35249259Sdim
36249259Sdim  HasLEB128 = true;
37249259Sdim  SupportsDebugInformation = true;
38249259Sdim
39249259Sdim  // Exceptions handling
40249259Sdim  ExceptionsType = ExceptionHandling::DwarfCFI;
41249259Sdim}
42