Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / lib / Target / MSP430 / MCTargetDesc / MSP430MCAsmInfo.cpp
blob386b5abe38017997d5861f1641508bb5136578b7
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.
11 //===----------------------------------------------------------------------===//
13 #include "MSP430MCAsmInfo.h"
14 using namespace llvm;
16 void MSP430MCAsmInfo::anchor() { }
18 MSP430MCAsmInfo::MSP430MCAsmInfo(const Triple &TT) {
19 // Since MSP430-GCC already generates 32-bit DWARF information, we will
20 // also store 16-bit pointers as 32-bit pointers in DWARF, because using
21 // 32-bit DWARF pointers is already a working and tested path for LLDB
22 // as well.
23 CodePointerSize = 4;
24 CalleeSaveStackSlotSize = 2;
26 CommentString = ";";
27 SeparatorString = "{";
29 AlignmentIsInBytes = false;
30 UsesELFSectionDirectiveForBSS = true;
32 SupportsDebugInformation = true;
34 ExceptionsType = ExceptionHandling::DwarfCFI;