R600: Remove some redundant initializations from AMDGPUMCAsmInfo
[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) : MCAsmInfoELF() {
15   HasSingleParameterDotFile = false;
16   //===------------------------------------------------------------------===//
17   HasSubsectionsViaSymbols = true;
18   LinkerRequiresNonEmptyDwarfLines = true;
19   MaxInstLength = 16;
20   SeparatorString = "\n";
21   CommentString = ";";
22   InlineAsmStart = ";#ASMSTART";
23   InlineAsmEnd = ";#ASMEND";
24
25   //===--- Data Emission Directives -------------------------------------===//
26   ZeroDirective = ".zero";
27   AsciiDirective = ".ascii\t";
28   AscizDirective = ".asciz\t";
29   Data8bitsDirective = ".byte\t";
30   Data16bitsDirective = ".short\t";
31   Data32bitsDirective = ".long\t";
32   Data64bitsDirective = ".quad\t";
33   SunStyleELFSectionSwitchSyntax = true;
34   UsesELFSectionDirectiveForBSS = true;
35
36   //===--- Global Variable Emission Directives --------------------------===//
37   GlobalDirective = ".global";
38   HasSetDirective = false;
39   HasAggressiveSymbolFolding = true;
40   COMMDirectiveAlignmentIsInBytes = false;
41   HasDotTypeDotSizeDirective = false;
42   HasNoDeadStrip = true;
43   WeakRefDirective = ".weakref\t";
44   //===--- Dwarf Emission Directives -----------------------------------===//
45   SupportsDebugInformation = true;
46 }
47
48 const MCSection*
49 AMDGPUMCAsmInfo::getNonexecutableStackSection(MCContext &CTX) const {
50   return nullptr;
51 }