1//===-- XCoreMCAsmInfo.cpp - XCore 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#include "XCoreMCAsmInfo.h"
10using namespace llvm;
11
12void XCoreMCAsmInfo::anchor() { }
13
14XCoreMCAsmInfo::XCoreMCAsmInfo(const Triple &TT, const MCTargetOptions &Options)
15 : MCAsmInfoELF(Options) {
16 SupportsDebugInformation = true;
17 Data16bitsDirective = "\t.short\t";
18 Data32bitsDirective = "\t.long\t";
19 Data64bitsDirective = nullptr;
20 ZeroDirective = "\t.space\t";
21 CommentString = "#";
22
23 AscizDirective = ".asciiz";
24
25 HiddenVisibilityAttr = MCSA_Invalid;
26 HiddenDeclarationVisibilityAttr = MCSA_Invalid;
27 ProtectedVisibilityAttr = MCSA_Invalid;
28
29 // Debug
30 ExceptionsType = ExceptionHandling::DwarfCFI;
31 DwarfRegNumForCFI = true;
32
33 UseIntegratedAssembler = false;
34}
35