xref: /freebsd/contrib/llvm-project/llvm/lib/Target/M68k/MCTargetDesc/M68kMCAsmInfo.cpp (revision a90b9d0159070121c221b966469c3e36d912bf82)
1 //===-- M68kMCAsmInfo.cpp - M68k Asm Properties -----------------*- C++ -*-===//
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 /// \file
10 /// This file contains the definitions of the M68k MCAsmInfo properties.
11 ///
12 //===----------------------------------------------------------------------===//
13 
14 #include "M68kMCAsmInfo.h"
15 
16 #include "llvm/TargetParser/Triple.h"
17 
18 using namespace llvm;
19 
20 void M68kELFMCAsmInfo::anchor() {}
21 
22 M68kELFMCAsmInfo::M68kELFMCAsmInfo(const Triple &T) {
23   CodePointerSize = 4;
24   CalleeSaveStackSlotSize = 4;
25 
26   IsLittleEndian = false;
27 
28   // Debug Information
29   SupportsDebugInformation = true;
30 
31   // Exceptions handling
32   ExceptionsType = ExceptionHandling::DwarfCFI;
33 
34   UseMotorolaIntegers = true;
35   CommentString = ";";
36 }
37