104eeddc0SDimitry Andric //===-- M68kMCAsmInfo.cpp - M68k Asm Properties -----------------*- C++ -*-===// 2fe6060f1SDimitry Andric // 3fe6060f1SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4fe6060f1SDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 5fe6060f1SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6fe6060f1SDimitry Andric // 7fe6060f1SDimitry Andric //===----------------------------------------------------------------------===// 8fe6060f1SDimitry Andric /// 9fe6060f1SDimitry Andric /// \file 10fe6060f1SDimitry Andric /// This file contains the definitions of the M68k MCAsmInfo properties. 11fe6060f1SDimitry Andric /// 12fe6060f1SDimitry Andric //===----------------------------------------------------------------------===// 13fe6060f1SDimitry Andric 14fe6060f1SDimitry Andric #include "M68kMCAsmInfo.h" 15fe6060f1SDimitry Andric 16*06c3fb27SDimitry Andric #include "llvm/TargetParser/Triple.h" 17fe6060f1SDimitry Andric 18fe6060f1SDimitry Andric using namespace llvm; 19fe6060f1SDimitry Andric anchor()20fe6060f1SDimitry Andricvoid M68kELFMCAsmInfo::anchor() {} 21fe6060f1SDimitry Andric M68kELFMCAsmInfo(const Triple & T)22fe6060f1SDimitry AndricM68kELFMCAsmInfo::M68kELFMCAsmInfo(const Triple &T) { 23fe6060f1SDimitry Andric CodePointerSize = 4; 24fe6060f1SDimitry Andric CalleeSaveStackSlotSize = 4; 25fe6060f1SDimitry Andric 26fe6060f1SDimitry Andric IsLittleEndian = false; 27fe6060f1SDimitry Andric 28fe6060f1SDimitry Andric // Debug Information 29fe6060f1SDimitry Andric SupportsDebugInformation = true; 30fe6060f1SDimitry Andric 31fe6060f1SDimitry Andric // Exceptions handling 32fe6060f1SDimitry Andric ExceptionsType = ExceptionHandling::DwarfCFI; 33fe6060f1SDimitry Andric 34fe6060f1SDimitry Andric UseMotorolaIntegers = true; 35fe6060f1SDimitry Andric CommentString = ";"; 36fe6060f1SDimitry Andric } 37