0aeb8d09f299b53ce16b0d2bf178d62b17854382
[oota-llvm.git] / lib / Target / R600 / MCTargetDesc / AMDGPUMCAsmInfo.cpp
1 //===-- MCTargetDesc/AMDGPUMCAsmInfo.cpp - Assembly Info ------------------===//
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 /// \file
9 //===----------------------------------------------------------------------===//
10
11 #include "AMDGPUMCAsmInfo.h"
12
13 using namespace llvm;
14 AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(StringRef &TT) : MCAsmInfo() {
15   HasSingleParameterDotFile = false;
16   WeakDefDirective = 0;
17   //===------------------------------------------------------------------===//
18   HasSubsectionsViaSymbols = true;
19   HasMachoZeroFillDirective = false;
20   HasMachoTBSSDirective = false;
21   HasStaticCtorDtorReferenceInStaticMode = false;
22   LinkerRequiresNonEmptyDwarfLines = true;
23   MaxInstLength = 16;
24   SeparatorString = "\n";
25   CommentColumn = 40;
26   CommentString = ";";
27   LabelSuffix = ":";
28   GlobalPrefix = "@";
29   PrivateGlobalPrefix = ";.";
30   LinkerPrivateGlobalPrefix = "!";
31   InlineAsmStart = ";#ASMSTART";
32   InlineAsmEnd = ";#ASMEND";
33   AssemblerDialect = 0;
34   AllowQuotesInName = false;
35   AllowNameToStartWithDigit = false;
36   AllowPeriodsInName = false;
37
38   //===--- Data Emission Directives -------------------------------------===//
39   ZeroDirective = ".zero";
40   AsciiDirective = ".ascii\t";
41   AscizDirective = ".asciz\t";
42   Data8bitsDirective = ".byte\t";
43   Data16bitsDirective = ".short\t";
44   Data32bitsDirective = ".long\t";
45   Data64bitsDirective = ".quad\t";
46   GPRel32Directive = 0;
47   SunStyleELFSectionSwitchSyntax = true;
48   UsesELFSectionDirectiveForBSS = true;
49   HasMicrosoftFastStdCallMangling = false;
50
51   //===--- Alignment Information ----------------------------------------===//
52   AlignDirective = ".align\t";
53   AlignmentIsInBytes = true;
54   TextAlignFillValue = 0;
55
56   //===--- Global Variable Emission Directives --------------------------===//
57   GlobalDirective = ".global";
58   HasSetDirective = false;
59   HasAggressiveSymbolFolding = true;
60   COMMDirectiveAlignmentIsInBytes = false;
61   HasDotTypeDotSizeDirective = false;
62   HasNoDeadStrip = true;
63   WeakRefDirective = ".weakref\t";
64   LinkOnceDirective = 0;
65   //===--- Dwarf Emission Directives -----------------------------------===//
66   HasLEB128 = true;
67   SupportsDebugInformation = true;
68 }
69
70 const MCSection*
71 AMDGPUMCAsmInfo::getNonexecutableStackSection(MCContext &CTX) const {
72   return 0;
73 }