1 //===-- MCTargetDesc/AMDGPUMCAsmInfo.cpp - Assembly Info ------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
9 //===----------------------------------------------------------------------===//
11 #include "AMDGPUMCAsmInfo.h"
14 AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(StringRef &TT) : MCAsmInfo() {
15 HasSingleParameterDotFile = false;
17 //===------------------------------------------------------------------===//
18 HasSubsectionsViaSymbols = true;
19 HasMachoZeroFillDirective = false;
20 HasMachoTBSSDirective = false;
21 HasStaticCtorDtorReferenceInStaticMode = false;
22 LinkerRequiresNonEmptyDwarfLines = true;
24 SeparatorString = "\n";
28 PrivateGlobalPrefix = ";.";
29 LinkerPrivateGlobalPrefix = "!";
30 InlineAsmStart = ";#ASMSTART";
31 InlineAsmEnd = ";#ASMEND";
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";
43 SunStyleELFSectionSwitchSyntax = true;
44 UsesELFSectionDirectiveForBSS = true;
45 HasMicrosoftFastStdCallMangling = false;
47 //===--- Alignment Information ----------------------------------------===//
48 AlignDirective = ".align\t";
49 AlignmentIsInBytes = true;
50 TextAlignFillValue = 0;
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 -----------------------------------===//
63 SupportsDebugInformation = true;
67 AMDGPUMCAsmInfo::getNonexecutableStackSection(MCContext &CTX) const {