1e8d8bef9SDimitry Andric //===-- CSKYMCAsmInfo.cpp - CSKY Asm properties ---------------------------===// 2e8d8bef9SDimitry Andric // 3e8d8bef9SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4e8d8bef9SDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 5e8d8bef9SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6e8d8bef9SDimitry Andric // 7e8d8bef9SDimitry Andric //===----------------------------------------------------------------------===// 8e8d8bef9SDimitry Andric // 9e8d8bef9SDimitry Andric // This file contains the declarations of the CSKYMCAsmInfo properties. 10e8d8bef9SDimitry Andric // 11e8d8bef9SDimitry Andric //===----------------------------------------------------------------------===// 12e8d8bef9SDimitry Andric 13e8d8bef9SDimitry Andric #include "CSKYMCAsmInfo.h" 14e8d8bef9SDimitry Andric #include "llvm/BinaryFormat/Dwarf.h" 15e8d8bef9SDimitry Andric #include "llvm/MC/MCStreamer.h" 16e8d8bef9SDimitry Andric 17e8d8bef9SDimitry Andric using namespace llvm; 18e8d8bef9SDimitry Andric anchor()19e8d8bef9SDimitry Andricvoid CSKYMCAsmInfo::anchor() {} 20e8d8bef9SDimitry Andric CSKYMCAsmInfo(const Triple & TargetTriple)21e8d8bef9SDimitry AndricCSKYMCAsmInfo::CSKYMCAsmInfo(const Triple &TargetTriple) { 22e8d8bef9SDimitry Andric AlignmentIsInBytes = false; 23e8d8bef9SDimitry Andric SupportsDebugInformation = true; 24e8d8bef9SDimitry Andric CommentString = "#"; 2504eeddc0SDimitry Andric 26*bdd1243dSDimitry Andric // Uses '.section' before '.bss' directive 27*bdd1243dSDimitry Andric UsesELFSectionDirectiveForBSS = true; 28*bdd1243dSDimitry Andric 2904eeddc0SDimitry Andric ExceptionsType = ExceptionHandling::DwarfCFI; 30e8d8bef9SDimitry Andric } 31