Coverage Report

Created: 2024-01-17 10:31

/src/llvm-project/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp
Line
Count
Source (jump to first uncovered line)
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
0
void MSP430MCAsmInfo::anchor() { }
17
18
0
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
0
  CodePointerSize = 4;
24
0
  CalleeSaveStackSlotSize = 2;
25
26
0
  CommentString = ";";
27
0
  SeparatorString = "{";
28
29
0
  AlignmentIsInBytes = false;
30
0
  UsesELFSectionDirectiveForBSS = true;
31
32
0
  SupportsDebugInformation = true;
33
34
0
  ExceptionsType = ExceptionHandling::DwarfCFI;
35
0
}