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