AVRMCAsmInfo.cpp revision 360784
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
17namespace llvm {
18
19AVRMCAsmInfo::AVRMCAsmInfo(const Triple &TT, const MCTargetOptions &Options) {
20  CodePointerSize = 2;
21  CalleeSaveStackSlotSize = 2;
22  CommentString = ";";
23  PrivateGlobalPrefix = ".L";
24  UsesELFSectionDirectiveForBSS = true;
25  UseIntegratedAssembler = true;
26  SupportsDebugInformation = true;
27}
28
29} // end of namespace llvm
30