Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/CSKYMCAsmInfo.cpp
35294 views
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"
14
#include "llvm/BinaryFormat/Dwarf.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;
23
SupportsDebugInformation = true;
24
CommentString = "#";
25
26
// Uses '.section' before '.bss' directive
27
UsesELFSectionDirectiveForBSS = true;
28
29
ExceptionsType = ExceptionHandling::DwarfCFI;
30
}
31
32