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;
16 //===------------------------------------------------------------------===//
17 HasSubsectionsViaSymbols = true;
18 HasMachoZeroFillDirective = false;
19 HasMachoTBSSDirective = false;
20 HasStaticCtorDtorReferenceInStaticMode = false;
21 LinkerRequiresNonEmptyDwarfLines = true;
23 SeparatorString = "\n";
27 PrivateGlobalPrefix = ";.";
28 LinkerPrivateGlobalPrefix = "!";
29 InlineAsmStart = ";#ASMSTART";
30 InlineAsmEnd = ";#ASMEND";
33 //===--- Data Emission Directives -------------------------------------===//
34 ZeroDirective = ".zero";
35 AsciiDirective = ".ascii\t";
36 AscizDirective = ".asciz\t";
37 Data8bitsDirective = ".byte\t";
38 Data16bitsDirective = ".short\t";
39 Data32bitsDirective = ".long\t";
40 Data64bitsDirective = ".quad\t";
42 SunStyleELFSectionSwitchSyntax = true;
43 UsesELFSectionDirectiveForBSS = true;
44 HasMicrosoftFastStdCallMangling = false;
46 //===--- Alignment Information ----------------------------------------===//
47 AlignDirective = ".align\t";
48 AlignmentIsInBytes = true;
49 TextAlignFillValue = 0;
51 //===--- Global Variable Emission Directives --------------------------===//
52 GlobalDirective = ".global";
53 HasSetDirective = false;
54 HasAggressiveSymbolFolding = true;
55 COMMDirectiveAlignmentIsInBytes = false;
56 HasDotTypeDotSizeDirective = false;
57 HasNoDeadStrip = true;
58 WeakRefDirective = ".weakref\t";
59 //===--- Dwarf Emission Directives -----------------------------------===//
61 SupportsDebugInformation = true;
65 AMDGPUMCAsmInfo::getNonexecutableStackSection(MCContext &CTX) const {