1 //===-- XtensaMCAsmInfo.cpp - Xtensa Asm Properties -----------------------===//
3 // The LLVM Compiler Infrastructure
5 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
6 // See https://llvm.org/LICENSE.txt for license information.
7 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
9 //===----------------------------------------------------------------------===//
11 // This file contains the declarations of the XtensaMCAsmInfo properties.
13 //===----------------------------------------------------------------------===//
15 #include "XtensaMCAsmInfo.h"
16 #include "llvm/TargetParser/Triple.h"
20 XtensaMCAsmInfo::XtensaMCAsmInfo(const Triple
&TT
) {
22 CalleeSaveStackSlotSize
= 4;
23 PrivateGlobalPrefix
= ".L";
25 ZeroDirective
= "\t.space\t";
26 Data64bitsDirective
= "\t.quad\t";
27 GlobalDirective
= "\t.global\t";
28 UsesELFSectionDirectiveForBSS
= true;
29 SupportsDebugInformation
= true;
30 ExceptionsType
= ExceptionHandling::DwarfCFI
;
31 AlignmentIsInBytes
= false;