Path: blob/main/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/LanaiMCAsmInfo.cpp
35295 views
//===-- LanaiMCAsmInfo.cpp - Lanai asm properties -----------------------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// This file contains the declarations of the LanaiMCAsmInfo properties.9//10//===----------------------------------------------------------------------===//1112#include "LanaiMCAsmInfo.h"1314#include "llvm/TargetParser/Triple.h"1516using namespace llvm;1718void LanaiMCAsmInfo::anchor() {}1920LanaiMCAsmInfo::LanaiMCAsmInfo(const Triple & /*TheTriple*/,21const MCTargetOptions &Options) {22IsLittleEndian = false;23PrivateGlobalPrefix = ".L";24WeakRefDirective = "\t.weak\t";25ExceptionsType = ExceptionHandling::DwarfCFI;2627// Lanai assembly requires ".section" before ".bss"28UsesELFSectionDirectiveForBSS = true;2930// Use '!' as comment string to correspond with old toolchain.31CommentString = "!";3233// Target supports emission of debugging information.34SupportsDebugInformation = true;3536// Set the instruction alignment. Currently used only for address adjustment37// in dwarf generation.38MinInstAlignment = 4;39}404142