HexagonMCAsmInfo.cpp revision 234353
160484Sobrien//===-- HexagonMCAsmInfo.cpp - Hexagon asm properties ---------------------===//
260484Sobrien//
360484Sobrien//                     The LLVM Compiler Infrastructure
460484Sobrien//
560484Sobrien// This file is distributed under the University of Illinois Open Source
660484Sobrien// License. See LICENSE.TXT for details.
760484Sobrien//
860484Sobrien//===----------------------------------------------------------------------===//
960484Sobrien//
1060484Sobrien// This file contains the declarations of the HexagonMCAsmInfo properties.
1160484Sobrien//
1260484Sobrien//===----------------------------------------------------------------------===//
1360484Sobrien
1460484Sobrien#include "HexagonMCAsmInfo.h"
1560484Sobrien
1660484Sobrienusing namespace llvm;
1760484Sobrien
1860484SobrienHexagonMCAsmInfo::HexagonMCAsmInfo(const Target &T, StringRef TT) {
1960484Sobrien  Data16bitsDirective = "\t.half\t";
2060484Sobrien  Data32bitsDirective = "\t.word\t";
2160484Sobrien  Data64bitsDirective = 0;  // .xword is only supported by V9.
2260484Sobrien  ZeroDirective = "\t.skip\t";
2360484Sobrien  CommentString = "//";
2460484Sobrien  HasLEB128 = true;
2560484Sobrien
2660484Sobrien  PrivateGlobalPrefix = ".L";
2760484Sobrien  LCOMMDirectiveType = LCOMM::ByteAlignment;
2860484Sobrien  InlineAsmStart = "# InlineAsm Start";
2960484Sobrien  InlineAsmEnd = "# InlineAsm End";
3060484Sobrien  ZeroDirective = "\t.space\t";
3160484Sobrien  AscizDirective = "\t.string\t";
3260484Sobrien  WeakRefDirective = "\t.weak\t";
3360484Sobrien
3460484Sobrien  UsesELFSectionDirectiveForBSS  = true;
3560484Sobrien  ExceptionsType = ExceptionHandling::DwarfCFI;
3660484Sobrien}
3760484Sobrien