xref: /freebsd/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/AVRMCAsmInfo.cpp (revision 0ad011ececb978e22a9bff2acf76633b094f1ff6)
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 
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