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) : MCAsmInfoELF() {
15 HasSingleParameterDotFile = false;
16 //===------------------------------------------------------------------===//
17 HasSubsectionsViaSymbols = true;
18 LinkerRequiresNonEmptyDwarfLines = true;
20 SeparatorString = "\n";
22 InlineAsmStart = ";#ASMSTART";
23 InlineAsmEnd = ";#ASMEND";
25 //===--- Data Emission Directives -------------------------------------===//
26 ZeroDirective = ".zero";
27 AsciiDirective = ".ascii\t";
28 AscizDirective = ".asciz\t";
29 Data8bitsDirective = ".byte\t";
30 Data16bitsDirective = ".short\t";
31 Data32bitsDirective = ".long\t";
32 Data64bitsDirective = ".quad\t";
33 SunStyleELFSectionSwitchSyntax = true;
34 UsesELFSectionDirectiveForBSS = true;
36 //===--- Global Variable Emission Directives --------------------------===//
37 GlobalDirective = ".global";
38 HasSetDirective = false;
39 HasAggressiveSymbolFolding = true;
40 COMMDirectiveAlignmentIsInBytes = false;
41 HasDotTypeDotSizeDirective = false;
42 HasNoDeadStrip = true;
43 WeakRefDirective = ".weakref\t";
44 //===--- Dwarf Emission Directives -----------------------------------===//
45 SupportsDebugInformation = true;
49 AMDGPUMCAsmInfo::getNonexecutableStackSection(MCContext &CTX) const {