1 //===-- 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 13 using namespace llvm; AMDGPUMCAsmInfo(StringRef & TT)14AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(StringRef &TT) : MCAsmInfoELF() { 15 HasSingleParameterDotFile = false; 16 //===------------------------------------------------------------------===// 17 MaxInstLength = 16; 18 SeparatorString = "\n"; 19 CommentString = ";"; 20 PrivateLabelPrefix = ""; 21 InlineAsmStart = ";#ASMSTART"; 22 InlineAsmEnd = ";#ASMEND"; 23 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"; 32 SunStyleELFSectionSwitchSyntax = true; 33 UsesELFSectionDirectiveForBSS = true; 34 35 //===--- Global Variable Emission Directives --------------------------===// 36 HasAggressiveSymbolFolding = true; 37 COMMDirectiveAlignmentIsInBytes = false; 38 HasDotTypeDotSizeDirective = false; 39 HasNoDeadStrip = true; 40 WeakRefDirective = ".weakref\t"; 41 //===--- Dwarf Emission Directives -----------------------------------===// 42 SupportsDebugInformation = true; 43 } 44