LLVM  14.0.0git
CSKYMCAsmInfo.cpp
Go to the documentation of this file.
1 //===-- CSKYMCAsmInfo.cpp - CSKY 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 CSKYMCAsmInfo properties.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #include "CSKYMCAsmInfo.h"
15 #include "llvm/MC/MCStreamer.h"
16 
17 using namespace llvm;
18 
19 void CSKYMCAsmInfo::anchor() {}
20 
21 CSKYMCAsmInfo::CSKYMCAsmInfo(const Triple &TargetTriple) {
22  AlignmentIsInBytes = false;
24  CommentString = "#";
25 }
llvm
---------------------— PointerInfo ------------------------------------—
Definition: AllocatorList.h:23
llvm::MCAsmInfo::SupportsDebugInformation
bool SupportsDebugInformation
True if target supports emission of debugging information.
Definition: MCAsmInfo.h:445
llvm::MCAsmInfo::AlignmentIsInBytes
bool AlignmentIsInBytes
If this is true (the default) then the asmprinter emits ".align N" directives, where N is the number ...
Definition: MCAsmInfo.h:329
llvm::Triple
Triple - Helper class for working with autoconf configuration names.
Definition: Triple.h:45
llvm::CSKYMCAsmInfo::CSKYMCAsmInfo
CSKYMCAsmInfo(const Triple &TargetTriple)
Definition: CSKYMCAsmInfo.cpp:21
llvm::MCAsmInfo::CommentString
StringRef CommentString
This indicates the comment string used by the assembler.
Definition: MCAsmInfo.h:135
Dwarf.h
CSKYMCAsmInfo.h
MCStreamer.h