• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===-- MSP430MCAsmInfo.cpp - MSP430 asm properties -----------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file contains the declarations of the MSP430MCAsmInfo properties.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #include "MSP430MCAsmInfo.h"
14 using namespace llvm;
15 
anchor()16 void MSP430MCAsmInfo::anchor() { }
17 
MSP430MCAsmInfo(const Triple & TT,const MCTargetOptions & Options)18 MSP430MCAsmInfo::MSP430MCAsmInfo(const Triple &TT,
19                                  const MCTargetOptions &Options) {
20   CodePointerSize = CalleeSaveStackSlotSize = 2;
21 
22   CommentString = ";";
23   SeparatorString = "{";
24 
25   AlignmentIsInBytes = false;
26   UsesELFSectionDirectiveForBSS = true;
27   UseIntegratedAssembler = true;
28 }
29