1234285Sdim//===-- HexagonMCAsmInfo.cpp - Hexagon asm properties ---------------------===//
2234285Sdim//
3234285Sdim//                     The LLVM Compiler Infrastructure
4234285Sdim//
5234285Sdim// This file is distributed under the University of Illinois Open Source
6234285Sdim// License. See LICENSE.TXT for details.
7234285Sdim//
8234285Sdim//===----------------------------------------------------------------------===//
9234285Sdim//
10234285Sdim// This file contains the declarations of the HexagonMCAsmInfo properties.
11234285Sdim//
12234285Sdim//===----------------------------------------------------------------------===//
13234285Sdim
14234285Sdim#include "HexagonMCAsmInfo.h"
15234285Sdim
16234285Sdimusing namespace llvm;
17234285Sdim
18263508Sdim// Pin the vtable to this file.
19263508Sdimvoid HexagonMCAsmInfo::anchor() {}
20263508Sdim
21263508SdimHexagonMCAsmInfo::HexagonMCAsmInfo(StringRef TT) {
22234285Sdim  Data16bitsDirective = "\t.half\t";
23234285Sdim  Data32bitsDirective = "\t.word\t";
24234285Sdim  Data64bitsDirective = 0;  // .xword is only supported by V9.
25234285Sdim  ZeroDirective = "\t.skip\t";
26234285Sdim  CommentString = "//";
27234285Sdim  HasLEB128 = true;
28234285Sdim
29234285Sdim  PrivateGlobalPrefix = ".L";
30243830Sdim  LCOMMDirectiveAlignmentType = LCOMM::ByteAlignment;
31234285Sdim  InlineAsmStart = "# InlineAsm Start";
32234285Sdim  InlineAsmEnd = "# InlineAsm End";
33234285Sdim  ZeroDirective = "\t.space\t";
34234285Sdim  AscizDirective = "\t.string\t";
35234285Sdim
36249423Sdim  SupportsDebugInformation = true;
37234285Sdim  UsesELFSectionDirectiveForBSS  = true;
38234285Sdim  ExceptionsType = ExceptionHandling::DwarfCFI;
39234285Sdim}
40