LLVM 19.0.0git
LanaiMCAsmInfo.cpp
Go to the documentation of this file.
1//===-- LanaiMCAsmInfo.cpp - Lanai asm properties -----------------------===//
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// This file contains the declarations of the LanaiMCAsmInfo properties.
10//
11//===----------------------------------------------------------------------===//
12
13#include "LanaiMCAsmInfo.h"
14
16
17using namespace llvm;
18
19void LanaiMCAsmInfo::anchor() {}
20
22 const MCTargetOptions &Options) {
23 IsLittleEndian = false;
25 WeakRefDirective = "\t.weak\t";
27
28 // Lanai assembly requires ".section" before ".bss"
30
31 // Use '!' as comment string to correspond with old toolchain.
32 CommentString = "!";
33
34 // Target supports emission of debugging information.
36
37 // Set the instruction alignment. Currently used only for address adjustment
38 // in dwarf generation.
40}
static LVOptions Options
Definition: LVOptions.cpp:25
LanaiMCAsmInfo(const Triple &TheTriple, const MCTargetOptions &Options)
unsigned MinInstAlignment
Every possible instruction length is a multiple of this value.
Definition: MCAsmInfo.h:115
ExceptionHandling ExceptionsType
Exception handling format for the target. Defaults to None.
Definition: MCAsmInfo.h:457
StringRef PrivateGlobalPrefix
This prefix is used for globals like constant pool entries that are completely private to the ....
Definition: MCAsmInfo.h:168
const char * WeakRefDirective
This directive, if non-null, is used to declare a global as being a weak undefined symbol.
Definition: MCAsmInfo.h:417
bool UsesELFSectionDirectiveForBSS
This is true if this target uses ELF '.section' directive before the '.bss' one.
Definition: MCAsmInfo.h:322
bool SupportsDebugInformation
True if target supports emission of debugging information.
Definition: MCAsmInfo.h:454
bool IsLittleEndian
True if target is little endian. Default is true.
Definition: MCAsmInfo.h:79
StringRef CommentString
This indicates the comment string used by the assembler.
Definition: MCAsmInfo.h:135
Triple - Helper class for working with autoconf configuration names.
Definition: Triple.h:44
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
@ DwarfCFI
DWARF-like instruction based exceptions.