XCoreMCAsmInfo.cpp revision 234353
1224133Sdim//===-- XCoreMCAsmInfo.cpp - XCore asm properties -------------------------===//
2224133Sdim//
3224133Sdim//                     The LLVM Compiler Infrastructure
4224133Sdim//
5224133Sdim// This file is distributed under the University of Illinois Open Source
6224133Sdim// License. See LICENSE.TXT for details.
7224133Sdim//
8224133Sdim//===----------------------------------------------------------------------===//
9224133Sdim
10224133Sdim#include "XCoreMCAsmInfo.h"
11234353Sdim#include "llvm/ADT/StringRef.h"
12224133Sdimusing namespace llvm;
13224133Sdim
14234353Sdimvoid XCoreMCAsmInfo::anchor() { }
15234353Sdim
16224133SdimXCoreMCAsmInfo::XCoreMCAsmInfo(const Target &T, StringRef TT) {
17224133Sdim  SupportsDebugInformation = true;
18224133Sdim  Data16bitsDirective = "\t.short\t";
19224133Sdim  Data32bitsDirective = "\t.long\t";
20224133Sdim  Data64bitsDirective = 0;
21224133Sdim  ZeroDirective = "\t.space\t";
22224133Sdim  CommentString = "#";
23224133Sdim
24224133Sdim  PrivateGlobalPrefix = ".L";
25224133Sdim  AscizDirective = ".asciiz";
26224133Sdim  WeakDefDirective = "\t.weak\t";
27224133Sdim  WeakRefDirective = "\t.weak\t";
28224133Sdim
29224133Sdim  // Debug
30224133Sdim  HasLEB128 = true;
31224133Sdim}
32224133Sdim
33