/src/keystone/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp
Line | Count | Source |
1 | | //===-- HexagonMCAsmInfo.cpp - Hexagon asm properties ---------------------===// |
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 | | //===----------------------------------------------------------------------===// |
9 | | // |
10 | | // This file contains the declarations of the HexagonMCAsmInfo properties. |
11 | | // |
12 | | //===----------------------------------------------------------------------===// |
13 | | |
14 | | #include "HexagonMCAsmInfo.h" |
15 | | |
16 | | using namespace llvm_ks; |
17 | | |
18 | 3.45k | HexagonMCAsmInfo::HexagonMCAsmInfo(const Triple &TT) { |
19 | 3.45k | Data16bitsDirective = "\t.half\t"; |
20 | 3.45k | Data32bitsDirective = "\t.word\t"; |
21 | 3.45k | Data64bitsDirective = nullptr; // .xword is only supported by V9. |
22 | 3.45k | ZeroDirective = "\t.skip\t"; |
23 | 3.45k | CommentString = "//"; |
24 | | |
25 | 3.45k | LCOMMDirectiveAlignmentType = LCOMM::ByteAlignment; |
26 | 3.45k | InlineAsmStart = "# InlineAsm Start"; |
27 | 3.45k | InlineAsmEnd = "# InlineAsm End"; |
28 | 3.45k | ZeroDirective = "\t.space\t"; |
29 | 3.45k | AscizDirective = "\t.string\t"; |
30 | | |
31 | 3.45k | SupportsDebugInformation = true; |
32 | 3.45k | UsesELFSectionDirectiveForBSS = true; |
33 | 3.45k | ExceptionsType = ExceptionHandling::DwarfCFI; |
34 | 3.45k | } |