2012-02-18 12:03:15 +00:00
|
|
|
//===-- HexagonMCAsmInfo.cpp - Hexagon asm properties ---------------------===//
|
2011-12-12 21:14:40 +00:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file contains the declarations of the HexagonMCAsmInfo properties.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "HexagonMCAsmInfo.h"
|
|
|
|
|
|
|
|
using namespace llvm;
|
|
|
|
|
2013-11-19 00:57:56 +00:00
|
|
|
// Pin the vtable to this file.
|
|
|
|
void HexagonMCAsmInfo::anchor() {}
|
|
|
|
|
2013-05-10 18:16:59 +00:00
|
|
|
HexagonMCAsmInfo::HexagonMCAsmInfo(StringRef TT) {
|
2011-12-12 21:14:40 +00:00
|
|
|
Data16bitsDirective = "\t.half\t";
|
|
|
|
Data32bitsDirective = "\t.word\t";
|
2014-04-25 05:30:21 +00:00
|
|
|
Data64bitsDirective = nullptr; // .xword is only supported by V9.
|
2011-12-12 21:14:40 +00:00
|
|
|
ZeroDirective = "\t.skip\t";
|
|
|
|
CommentString = "//";
|
|
|
|
|
2012-09-07 21:08:01 +00:00
|
|
|
LCOMMDirectiveAlignmentType = LCOMM::ByteAlignment;
|
2011-12-12 21:14:40 +00:00
|
|
|
InlineAsmStart = "# InlineAsm Start";
|
|
|
|
InlineAsmEnd = "# InlineAsm End";
|
|
|
|
ZeroDirective = "\t.space\t";
|
|
|
|
AscizDirective = "\t.string\t";
|
|
|
|
|
2013-03-28 19:34:49 +00:00
|
|
|
SupportsDebugInformation = true;
|
2011-12-12 21:14:40 +00:00
|
|
|
UsesELFSectionDirectiveForBSS = true;
|
|
|
|
ExceptionsType = ExceptionHandling::DwarfCFI;
|
|
|
|
}
|