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