xref: /freebsd/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/AVRMCAsmInfo.cpp (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
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/ADT/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   PrivateGlobalPrefix = ".L";
24   PrivateLabelPrefix = ".L";
25   UsesELFSectionDirectiveForBSS = true;
26   SupportsDebugInformation = true;
27 }
28 
29 } // end of namespace llvm
30