/Users/buildslave/jenkins/workspace/clang-stage2-coverage-R/llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCAsmInfo.cpp
Line | Count | Source (jump to first uncovered line) |
1 | | //===-- RISCVMCAsmInfo.cpp - RISCV Asm properties -------------------------===// |
2 | | // |
3 | | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 | | // See https://llvm.org/LICENSE.txt for license information. |
5 | | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 | | // |
7 | | //===----------------------------------------------------------------------===// |
8 | | // |
9 | | // This file contains the declarations of the RISCVMCAsmInfo properties. |
10 | | // |
11 | | //===----------------------------------------------------------------------===// |
12 | | |
13 | | #include "RISCVMCAsmInfo.h" |
14 | | #include "llvm/ADT/Triple.h" |
15 | | using namespace llvm; |
16 | | |
17 | 0 | void RISCVMCAsmInfo::anchor() {} |
18 | | |
19 | 962 | RISCVMCAsmInfo::RISCVMCAsmInfo(const Triple &TT) { |
20 | 962 | CodePointerSize = CalleeSaveStackSlotSize = TT.isArch64Bit() ? 8414 : 4548 ; |
21 | 962 | CommentString = "#"; |
22 | 962 | AlignmentIsInBytes = false; |
23 | 962 | SupportsDebugInformation = true; |
24 | 962 | ExceptionsType = ExceptionHandling::DwarfCFI; |
25 | 962 | Data16bitsDirective = "\t.half\t"; |
26 | 962 | Data32bitsDirective = "\t.word\t"; |
27 | 962 | } |