xref: /freebsd-src/contrib/llvm-project/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp (revision a7dea1671b87c07d2d266f836bfa8b58efc7c134)
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 
16 void MSP430MCAsmInfo::anchor() { }
17 
18 MSP430MCAsmInfo::MSP430MCAsmInfo(const Triple &TT) {
19   CodePointerSize = CalleeSaveStackSlotSize = 2;
20 
21   CommentString = ";";
22   SeparatorString = "{";
23 
24   AlignmentIsInBytes = false;
25   UsesELFSectionDirectiveForBSS = true;
26   UseIntegratedAssembler = true;
27 }
28