• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===-- AVRMCAsmInfo.cpp - AVR asm properties -----------------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the declarations of the AVRMCAsmInfo properties.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #include "AVRMCAsmInfo.h"
15 
16 #include "llvm/ADT/Triple.h"
17 
18 namespace llvm {
19 
AVRMCAsmInfo(const Triple & TT)20 AVRMCAsmInfo::AVRMCAsmInfo(const Triple &TT) {
21   CodePointerSize = 2;
22   CalleeSaveStackSlotSize = 2;
23   CommentString = ";";
24   PrivateGlobalPrefix = ".L";
25   UsesELFSectionDirectiveForBSS = true;
26   UseIntegratedAssembler = true;
27 }
28 
29 } // end of namespace llvm
30