Coverage Report

Created: 2019-07-24 05:18

/Users/buildslave/jenkins/workspace/clang-stage2-coverage-R/llvm/lib/Target/Lanai/MCTargetDesc/LanaiMCAsmInfo.cpp
Line
Count
Source (jump to first uncovered line)
1
//===-- LanaiMCAsmInfo.cpp - Lanai 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 LanaiMCAsmInfo properties.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#include "LanaiMCAsmInfo.h"
14
15
#include "llvm/ADT/Triple.h"
16
17
using namespace llvm;
18
19
0
void LanaiMCAsmInfo::anchor() {}
20
21
33
LanaiMCAsmInfo::LanaiMCAsmInfo(const Triple & /*TheTriple*/) {
22
33
  IsLittleEndian = false;
23
33
  PrivateGlobalPrefix = ".L";
24
33
  WeakRefDirective = "\t.weak\t";
25
33
  ExceptionsType = ExceptionHandling::DwarfCFI;
26
33
27
33
  // Lanai assembly requires ".section" before ".bss"
28
33
  UsesELFSectionDirectiveForBSS = true;
29
33
30
33
  // Use the integrated assembler instead of system one.
31
33
  UseIntegratedAssembler = true;
32
33
33
33
  // Use '!' as comment string to correspond with old toolchain.
34
33
  CommentString = "!";
35
33
36
33
  // Target supports emission of debugging information.
37
33
  SupportsDebugInformation = true;
38
33
39
33
  // Set the instruction alignment. Currently used only for address adjustment
40
33
  // in dwarf generation.
41
33
  MinInstAlignment = 4;
42
33
}