blob: f332e4da0df581b6d8c1682d39e45bc090ed673e [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 //===------------------------------------------------------------------===//
17 HasSubsectionsViaSymbols = true;
Tom Stellard75aadc22012-12-11 21:25:42 +000018 LinkerRequiresNonEmptyDwarfLines = true;
19 MaxInstLength = 16;
Tom Stellard75aadc22012-12-11 21:25:42 +000020 SeparatorString = "\n";
Tom Stellard75aadc22012-12-11 21:25:42 +000021 CommentString = ";";
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 --------------------------===//
37 GlobalDirective = ".global";
Tom Stellard75aadc22012-12-11 21:25:42 +000038 HasSetDirective = false;
39 HasAggressiveSymbolFolding = true;
40 COMMDirectiveAlignmentIsInBytes = false;
41 HasDotTypeDotSizeDirective = false;
42 HasNoDeadStrip = true;
Tom Stellard75aadc22012-12-11 21:25:42 +000043 WeakRefDirective = ".weakref\t";
Tom Stellard75aadc22012-12-11 21:25:42 +000044 //===--- Dwarf Emission Directives -----------------------------------===//
Tom Stellard75aadc22012-12-11 21:25:42 +000045 SupportsDebugInformation = true;
Tom Stellard75aadc22012-12-11 21:25:42 +000046}