MSP430MCAsmInfo.cpp revision de9a1a2055851a0f0a88e459cd23a246a90efd45
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"
16using namespace llvm;
17
18void MSP430MCAsmInfo::anchor() { }
19
20MSP430MCAsmInfo::MSP430MCAsmInfo(StringRef TT) {
21  PointerSize = CalleeSaveStackSlotSize = 2;
22
23  PrivateGlobalPrefix = ".L";
24  CommentString = ";";
25
26  AlignmentIsInBytes = false;
27  UsesELFSectionDirectiveForBSS = true;
28}
29