brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 386b5ab Raw
36 lines · cpp
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-exception6//7//===----------------------------------------------------------------------===//8//9// This file contains the declarations of the MSP430MCAsmInfo properties.10//11//===----------------------------------------------------------------------===//12 13#include "MSP430MCAsmInfo.h"14using namespace llvm;15 16void MSP430MCAsmInfo::anchor() { }17 18MSP430MCAsmInfo::MSP430MCAsmInfo(const Triple &TT) {19  // Since MSP430-GCC already generates 32-bit DWARF information, we will20  // also store 16-bit pointers as 32-bit pointers in DWARF, because using21  // 32-bit DWARF pointers is already a working and tested path for LLDB22  // as well.23  CodePointerSize = 4;24  CalleeSaveStackSlotSize = 2;25 26  CommentString = ";";27  SeparatorString = "{";28 29  AlignmentIsInBytes = false;30  UsesELFSectionDirectiveForBSS = true;31 32  SupportsDebugInformation = true;33 34  ExceptionsType = ExceptionHandling::DwarfCFI;35}36