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