Recommit r373598 "[yaml2obj/obj2yaml] - Add support for SHT_LLVM_ADDRSIG sections."
[llvm-complete.git] / lib / Target / ARC / MCTargetDesc / ARCMCAsmInfo.cpp
blob10f93e292e9bf9a42742b0aaa0cd6d202397687b
1 //===- ARCMCAsmInfo.cpp - ARC asm properties --------------------*- C++ -*-===//
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 //===----------------------------------------------------------------------===//
9 #include "ARCMCAsmInfo.h"
10 using namespace llvm;
12 void ARCMCAsmInfo::anchor() {}
14 ARCMCAsmInfo::ARCMCAsmInfo(const Triple &TT) {
15 SupportsDebugInformation = true;
16 Data16bitsDirective = "\t.short\t";
17 Data32bitsDirective = "\t.word\t";
18 Data64bitsDirective = nullptr;
19 ZeroDirective = "\t.space\t";
20 CommentString = ";";
22 UsesELFSectionDirectiveForBSS = true;
23 AllowAtInName = true;
24 HiddenVisibilityAttr = MCSA_Invalid;
25 HiddenDeclarationVisibilityAttr = MCSA_Invalid;
26 ProtectedVisibilityAttr = MCSA_Invalid;
28 // Debug
29 ExceptionsType = ExceptionHandling::DwarfCFI;
30 DwarfRegNumForCFI = true;