Don't set a variable to its default value.
[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   //===------------------------------------------------------------------===//
17   HasSubsectionsViaSymbols = true;
18   HasMachoZeroFillDirective = false;
19   HasMachoTBSSDirective = false;
20   HasStaticCtorDtorReferenceInStaticMode = false;
21   LinkerRequiresNonEmptyDwarfLines = true;
22   MaxInstLength = 16;
23   SeparatorString = "\n";
24   CommentColumn = 40;
25   CommentString = ";";
26   LabelSuffix = ":";
27   LinkerPrivateGlobalPrefix = "!";
28   InlineAsmStart = ";#ASMSTART";
29   InlineAsmEnd = ";#ASMEND";
30   AssemblerDialect = 0;
31
32   //===--- Data Emission Directives -------------------------------------===//
33   ZeroDirective = ".zero";
34   AsciiDirective = ".ascii\t";
35   AscizDirective = ".asciz\t";
36   Data8bitsDirective = ".byte\t";
37   Data16bitsDirective = ".short\t";
38   Data32bitsDirective = ".long\t";
39   Data64bitsDirective = ".quad\t";
40   GPRel32Directive = 0;
41   SunStyleELFSectionSwitchSyntax = true;
42   UsesELFSectionDirectiveForBSS = true;
43
44   //===--- Alignment Information ----------------------------------------===//
45   AlignDirective = ".align\t";
46   AlignmentIsInBytes = true;
47   TextAlignFillValue = 0;
48
49   //===--- Global Variable Emission Directives --------------------------===//
50   GlobalDirective = ".global";
51   HasSetDirective = false;
52   HasAggressiveSymbolFolding = true;
53   COMMDirectiveAlignmentIsInBytes = false;
54   HasDotTypeDotSizeDirective = false;
55   HasNoDeadStrip = true;
56   WeakRefDirective = ".weakref\t";
57   //===--- Dwarf Emission Directives -----------------------------------===//
58   HasLEB128 = true;
59   SupportsDebugInformation = true;
60 }
61
62 const MCSection*
63 AMDGPUMCAsmInfo::getNonexecutableStackSection(MCContext &CTX) const {
64   return 0;
65 }