10b57cec5SDimitry Andric //===-- MSP430MCAsmInfo.cpp - MSP430 asm properties -----------------------===// 20b57cec5SDimitry Andric // 30b57cec5SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 40b57cec5SDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 50b57cec5SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 60b57cec5SDimitry Andric // 70b57cec5SDimitry Andric //===----------------------------------------------------------------------===// 80b57cec5SDimitry Andric // 90b57cec5SDimitry Andric // This file contains the declarations of the MSP430MCAsmInfo properties. 100b57cec5SDimitry Andric // 110b57cec5SDimitry Andric //===----------------------------------------------------------------------===// 120b57cec5SDimitry Andric 130b57cec5SDimitry Andric #include "MSP430MCAsmInfo.h" 140b57cec5SDimitry Andric using namespace llvm; 150b57cec5SDimitry Andric anchor()160b57cec5SDimitry Andricvoid MSP430MCAsmInfo::anchor() { } 170b57cec5SDimitry Andric MSP430MCAsmInfo(const Triple & TT)18*06c3fb27SDimitry AndricMSP430MCAsmInfo::MSP430MCAsmInfo(const Triple &TT) { 19*06c3fb27SDimitry Andric // Since MSP430-GCC already generates 32-bit DWARF information, we will 20*06c3fb27SDimitry Andric // also store 16-bit pointers as 32-bit pointers in DWARF, because using 21*06c3fb27SDimitry Andric // 32-bit DWARF pointers is already a working and tested path for LLDB 22*06c3fb27SDimitry Andric // as well. 23*06c3fb27SDimitry Andric CodePointerSize = 4; 24*06c3fb27SDimitry Andric CalleeSaveStackSlotSize = 2; 250b57cec5SDimitry Andric 260b57cec5SDimitry Andric CommentString = ";"; 270b57cec5SDimitry Andric SeparatorString = "{"; 280b57cec5SDimitry Andric 290b57cec5SDimitry Andric AlignmentIsInBytes = false; 300b57cec5SDimitry Andric UsesELFSectionDirectiveForBSS = true; 315ffd83dbSDimitry Andric 325ffd83dbSDimitry Andric SupportsDebugInformation = true; 33*06c3fb27SDimitry Andric 34*06c3fb27SDimitry Andric ExceptionsType = ExceptionHandling::DwarfCFI; 350b57cec5SDimitry Andric } 36