]> CyberLeo.Net >> Repos - FreeBSD/releng/9.0.git/blob - contrib/llvm/lib/Target/XCore/MCTargetDesc/XCoreMCAsmInfo.cpp
Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
[FreeBSD/releng/9.0.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 using namespace llvm;
12
13 XCoreMCAsmInfo::XCoreMCAsmInfo(const Target &T, StringRef TT) {
14   SupportsDebugInformation = true;
15   Data16bitsDirective = "\t.short\t";
16   Data32bitsDirective = "\t.long\t";
17   Data64bitsDirective = 0;
18   ZeroDirective = "\t.space\t";
19   CommentString = "#";
20     
21   PrivateGlobalPrefix = ".L";
22   AscizDirective = ".asciiz";
23   WeakDefDirective = "\t.weak\t";
24   WeakRefDirective = "\t.weak\t";
25
26   // Debug
27   HasLEB128 = true;
28 }
29