blob: 50fb64c0a977dc1ffb466156c1152a03c56e7ed9 [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;
Daniel Sanders153010c2015-09-15 14:08:28 +000014AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(const TargetTuple &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 PrivateLabelPrefix = "";
Tom Stellard75aadc22012-12-11 21:25:42 +000021 InlineAsmStart = ";#ASMSTART";
22 InlineAsmEnd = ";#ASMEND";
Tom Stellard75aadc22012-12-11 21:25:42 +000023
24 //===--- Data Emission Directives -------------------------------------===//
25 ZeroDirective = ".zero";
26 AsciiDirective = ".ascii\t";
27 AscizDirective = ".asciz\t";
28 Data8bitsDirective = ".byte\t";
29 Data16bitsDirective = ".short\t";
30 Data32bitsDirective = ".long\t";
31 Data64bitsDirective = ".quad\t";
Tom Stellard75aadc22012-12-11 21:25:42 +000032 SunStyleELFSectionSwitchSyntax = true;
33 UsesELFSectionDirectiveForBSS = true;
Tom Stellard75aadc22012-12-11 21:25:42 +000034
Tom Stellard75aadc22012-12-11 21:25:42 +000035 //===--- Global Variable Emission Directives --------------------------===//
Tom Stellard75aadc22012-12-11 21:25:42 +000036 HasAggressiveSymbolFolding = true;
37 COMMDirectiveAlignmentIsInBytes = false;
38 HasDotTypeDotSizeDirective = false;
39 HasNoDeadStrip = true;
Tom Stellard75aadc22012-12-11 21:25:42 +000040 WeakRefDirective = ".weakref\t";
Tom Stellard75aadc22012-12-11 21:25:42 +000041 //===--- Dwarf Emission Directives -----------------------------------===//
Tom Stellard75aadc22012-12-11 21:25:42 +000042 SupportsDebugInformation = true;
Tom Stellard75aadc22012-12-11 21:25:42 +000043}