LLVM  14.0.0git
M68kMCAsmInfo.cpp
Go to the documentation of this file.
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 
20 void M68kELFMCAsmInfo::anchor() {}
21 
23  CodePointerSize = 4;
25 
26  IsLittleEndian = false;
27 
28  // Debug Information
30 
31  // Exceptions handling
33 
34  UseMotorolaIntegers = true;
35  CommentString = ";";
36 }
llvm
---------------------— PointerInfo ------------------------------------—
Definition: AllocatorList.h:23
llvm::MCAsmInfo::SupportsDebugInformation
bool SupportsDebugInformation
True if target supports emission of debugging information.
Definition: MCAsmInfo.h:445
llvm::Triple
Triple - Helper class for working with autoconf configuration names.
Definition: Triple.h:45
llvm::M68kELFMCAsmInfo::M68kELFMCAsmInfo
M68kELFMCAsmInfo(const Triple &Triple)
Definition: M68kMCAsmInfo.cpp:22
M68kMCAsmInfo.h
llvm::MCAsmInfo::CommentString
StringRef CommentString
This indicates the comment string used by the assembler.
Definition: MCAsmInfo.h:135
llvm::MCAsmInfo::CodePointerSize
unsigned CodePointerSize
Code pointer size in bytes. Default is 4.
Definition: MCAsmInfo.h:72
llvm::MCAsmInfo::UseMotorolaIntegers
bool UseMotorolaIntegers
Definition: MCAsmInfo.h:526
Triple.h
llvm::MCAsmInfo::CalleeSaveStackSlotSize
unsigned CalleeSaveStackSlotSize
Size of the stack slot reserved for callee-saved registers, in bytes.
Definition: MCAsmInfo.h:76
llvm::MCAsmInfo::ExceptionsType
ExceptionHandling ExceptionsType
Exception handling format for the target. Defaults to None.
Definition: MCAsmInfo.h:448
llvm::ExceptionHandling::DwarfCFI
@ DwarfCFI
DWARF-like instruction based exceptions.
llvm::MCAsmInfo::IsLittleEndian
bool IsLittleEndian
True if target is little endian. Default is true.
Definition: MCAsmInfo.h:79