]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/llvm/lib/Target/XCore/MCTargetDesc/XCoreMCAsmInfo.cpp
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / llvm / lib / Target / XCore / MCTargetDesc / XCoreMCAsmInfo.cpp
1 //===-- XCoreMCAsmInfo.cpp - XCore asm properties -------------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #include "XCoreMCAsmInfo.h"
11 #include "llvm/ADT/StringRef.h"
12 using namespace llvm;
13
14 void XCoreMCAsmInfo::anchor() { }
15
16 XCoreMCAsmInfo::XCoreMCAsmInfo(const Target &T, StringRef TT) {
17   SupportsDebugInformation = true;
18   Data16bitsDirective = "\t.short\t";
19   Data32bitsDirective = "\t.long\t";
20   Data64bitsDirective = 0;
21   ZeroDirective = "\t.space\t";
22   CommentString = "#";
23     
24   PrivateGlobalPrefix = ".L";
25   AscizDirective = ".asciiz";
26   WeakDefDirective = "\t.weak\t";
27   WeakRefDirective = "\t.weak\t";
28
29   // Debug
30   HasLEB128 = true;
31 }
32