blob: 1a37f38403552e4ba6e08ee075755bc01574e12d [file] [log] [blame]
Tom Stellard75aadc22012-12-11 21:25:42 +00001//===-- MCTargetDesc/AMDGPUMCAsmInfo.cpp - Assembly Info ------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8/// \file
9//===----------------------------------------------------------------------===//
10
11#include "AMDGPUMCAsmInfo.h"
12
13using namespace llvm;
Tom Stellard022802a2014-10-07 21:09:23 +000014AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(StringRef &TT) : MCAsmInfoELF() {
Tom Stellard75aadc22012-12-11 21:25:42 +000015 HasSingleParameterDotFile = false;
Tom Stellard75aadc22012-12-11 21:25:42 +000016 //===------------------------------------------------------------------===//
Tom Stellard75aadc22012-12-11 21:25:42 +000017 MaxInstLength = 16;
Tom Stellard75aadc22012-12-11 21:25:42 +000018 SeparatorString = "\n";
Tom Stellard75aadc22012-12-11 21:25:42 +000019 CommentString = ";";
Matt Arsenault4e273432014-12-04 00:06:57 +000020 PrivateGlobalPrefix = "";
21 PrivateLabelPrefix = "";
Tom Stellard75aadc22012-12-11 21:25:42 +000022 InlineAsmStart = ";#ASMSTART";
23 InlineAsmEnd = ";#ASMEND";
Tom Stellard75aadc22012-12-11 21:25:42 +000024
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";
Tom Stellard75aadc22012-12-11 21:25:42 +000033 SunStyleELFSectionSwitchSyntax = true;
34 UsesELFSectionDirectiveForBSS = true;
Tom Stellard75aadc22012-12-11 21:25:42 +000035
Tom Stellard75aadc22012-12-11 21:25:42 +000036 //===--- Global Variable Emission Directives --------------------------===//
Tom Stellard75aadc22012-12-11 21:25:42 +000037 HasAggressiveSymbolFolding = true;
38 COMMDirectiveAlignmentIsInBytes = false;
39 HasDotTypeDotSizeDirective = false;
40 HasNoDeadStrip = true;
Tom Stellard75aadc22012-12-11 21:25:42 +000041 WeakRefDirective = ".weakref\t";
Tom Stellard75aadc22012-12-11 21:25:42 +000042 //===--- Dwarf Emission Directives -----------------------------------===//
Tom Stellard75aadc22012-12-11 21:25:42 +000043 SupportsDebugInformation = true;
Tom Stellard75aadc22012-12-11 21:25:42 +000044}