xref: /freebsd/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/AVRMCAsmInfo.cpp (revision 06c3fb2749bda94cb5201f81ffdb8fa6c3161b2e)
1 //===-- AVRMCAsmInfo.cpp - AVR 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 // This file contains the declarations of the AVRMCAsmInfo properties.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #include "AVRMCAsmInfo.h"
14 
15 #include "llvm/TargetParser/Triple.h"
16 
17 namespace llvm {
18 
AVRMCAsmInfo(const Triple & TT,const MCTargetOptions & Options)19 AVRMCAsmInfo::AVRMCAsmInfo(const Triple &TT, const MCTargetOptions &Options) {
20   CodePointerSize = 2;
21   CalleeSaveStackSlotSize = 2;
22   CommentString = ";";
23   SeparatorString = "$";
24   PrivateGlobalPrefix = ".L";
25   PrivateLabelPrefix = ".L";
26   UsesELFSectionDirectiveForBSS = true;
27   SupportsDebugInformation = true;
28 }
29 
30 } // end of namespace llvm
31