xref: /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/M68k/MCTargetDesc/M68kMCAsmInfo.cpp (revision 82d56013d7b633d116a93943de88e08335357a7c)
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/ADT/Triple.h"
17 
18 using namespace llvm;
19 
anchor()20 void M68kELFMCAsmInfo::anchor() {}
21 
M68kELFMCAsmInfo(const Triple & T)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