]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / llvm / lib / Target / MSP430 / MCTargetDesc / MSP430MCAsmInfo.cpp
1 //===-- MSP430MCAsmInfo.cpp - MSP430 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 // This file contains the declarations of the MSP430MCAsmInfo properties.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #include "MSP430MCAsmInfo.h"
15 #include "llvm/ADT/StringRef.h"
16 using namespace llvm;
17
18 void MSP430MCAsmInfo::anchor() { }
19
20 MSP430MCAsmInfo::MSP430MCAsmInfo(StringRef TT) {
21   PointerSize = CalleeSaveStackSlotSize = 2;
22
23   PrivateGlobalPrefix = ".L";
24   CommentString = ";";
25
26   AlignmentIsInBytes = false;
27   UsesELFSectionDirectiveForBSS = true;
28 }