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";
26 InlineAsmStart = ";#ASMSTART";
27 InlineAsmEnd = ";#ASMEND";
30 //===--- Data Emission Directives -------------------------------------===//
31 ZeroDirective = ".zero";
32 AsciiDirective = ".ascii\t";
33 AscizDirective = ".asciz\t";
34 Data8bitsDirective = ".byte\t";
35 Data16bitsDirective = ".short\t";
36 Data32bitsDirective = ".long\t";
37 Data64bitsDirective = ".quad\t";
39 SunStyleELFSectionSwitchSyntax = true;
40 UsesELFSectionDirectiveForBSS = true;
42 //===--- Alignment Information ----------------------------------------===//
43 AlignmentIsInBytes = true;
44 TextAlignFillValue = 0;
46 //===--- Global Variable Emission Directives --------------------------===//
47 GlobalDirective = ".global";
48 HasSetDirective = false;
49 HasAggressiveSymbolFolding = true;
50 COMMDirectiveAlignmentIsInBytes = false;
51 HasDotTypeDotSizeDirective = false;
52 HasNoDeadStrip = true;
53 WeakRefDirective = ".weakref\t";
54 //===--- Dwarf Emission Directives -----------------------------------===//
56 SupportsDebugInformation = true;
60 AMDGPUMCAsmInfo::getNonexecutableStackSection(MCContext &CTX) const {