The R600 has its own asm printer which doesn't use GlobalPrefix. Drop it.
[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   PrivateGlobalPrefix = ";.";
29   LinkerPrivateGlobalPrefix = "!";
30   InlineAsmStart = ";#ASMSTART";
31   InlineAsmEnd = ";#ASMEND";
32   AssemblerDialect = 0;
33
34   //===--- Data Emission Directives -------------------------------------===//
35   ZeroDirective = ".zero";
36   AsciiDirective = ".ascii\t";
37   AscizDirective = ".asciz\t";
38   Data8bitsDirective = ".byte\t";
39   Data16bitsDirective = ".short\t";
40   Data32bitsDirective = ".long\t";
41   Data64bitsDirective = ".quad\t";
42   GPRel32Directive = 0;
43   SunStyleELFSectionSwitchSyntax = true;
44   UsesELFSectionDirectiveForBSS = true;
45   HasMicrosoftFastStdCallMangling = false;
46
47   //===--- Alignment Information ----------------------------------------===//
48   AlignDirective = ".align\t";
49   AlignmentIsInBytes = true;
50   TextAlignFillValue = 0;
51
52   //===--- Global Variable Emission Directives --------------------------===//
53   GlobalDirective = ".global";
54   HasSetDirective = false;
55   HasAggressiveSymbolFolding = true;
56   COMMDirectiveAlignmentIsInBytes = false;
57   HasDotTypeDotSizeDirective = false;
58   HasNoDeadStrip = true;
59   WeakRefDirective = ".weakref\t";
60   LinkOnceDirective = 0;
61   //===--- Dwarf Emission Directives -----------------------------------===//
62   HasLEB128 = true;
63   SupportsDebugInformation = true;
64 }
65
66 const MCSection*
67 AMDGPUMCAsmInfo::getNonexecutableStackSection(MCContext &CTX) const {
68   return 0;
69 }