llvm-project/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp

31 lines
913 B
C++
Raw Normal View History

//===-- MSP430MCAsmInfo.cpp - MSP430 asm properties -----------------------===//
2009-05-03 20:57:15 +08:00
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file contains the declarations of the MSP430MCAsmInfo properties.
2009-05-03 20:57:15 +08:00
//
//===----------------------------------------------------------------------===//
#include "MSP430MCAsmInfo.h"
2012-03-27 15:54:11 +08:00
#include "llvm/ADT/StringRef.h"
2009-05-03 20:57:15 +08:00
using namespace llvm;
void MSP430MCAsmInfo::anchor() { }
MSP430MCAsmInfo::MSP430MCAsmInfo(StringRef TT) {
PointerSize = CalleeSaveStackSlotSize = 2;
PrivateGlobalPrefix = ".L";
WeakRefDirective ="\t.weak\t";
CommentString = ";";
2009-05-03 21:17:31 +08:00
AlignmentIsInBytes = false;
AllowNameToStartWithDigit = true;
UsesELFSectionDirectiveForBSS = true;
2009-05-03 20:57:15 +08:00
}