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";
29 PrivateGlobalPrefix = ";.";
30 LinkerPrivateGlobalPrefix = "!";
31 InlineAsmStart = ";#ASMSTART";
32 InlineAsmEnd = ";#ASMEND";
34 AllowQuotesInName = false;
35 AllowNameToStartWithDigit = false;
36 AllowPeriodsInName = false;
38 //===--- Data Emission Directives -------------------------------------===//
39 ZeroDirective = ".zero";
40 AsciiDirective = ".ascii\t";
41 AscizDirective = ".asciz\t";
42 Data8bitsDirective = ".byte\t";
43 Data16bitsDirective = ".short\t";
44 Data32bitsDirective = ".long\t";
45 Data64bitsDirective = ".quad\t";
47 SunStyleELFSectionSwitchSyntax = true;
48 UsesELFSectionDirectiveForBSS = true;
49 HasMicrosoftFastStdCallMangling = false;
51 //===--- Alignment Information ----------------------------------------===//
52 AlignDirective = ".align\t";
53 AlignmentIsInBytes = true;
54 TextAlignFillValue = 0;
56 //===--- Global Variable Emission Directives --------------------------===//
57 GlobalDirective = ".global";
58 HasSetDirective = false;
59 HasAggressiveSymbolFolding = true;
60 COMMDirectiveAlignmentIsInBytes = false;
61 HasDotTypeDotSizeDirective = false;
62 HasNoDeadStrip = true;
63 WeakRefDirective = ".weakref\t";
64 LinkOnceDirective = 0;
65 //===--- Dwarf Emission Directives -----------------------------------===//
67 SupportsDebugInformation = true;
71 AMDGPUMCAsmInfo::getNonexecutableStackSection(MCContext &CTX) const {