Coverage Report

Created: 2019-07-24 05:18

/Users/buildslave/jenkins/workspace/clang-stage2-coverage-R/llvm/tools/clang/lib/Basic/Targets/PNaCl.cpp
Line
Count
Source (jump to first uncovered line)
1
//===--- PNaCl.cpp - Implement PNaCl target feature support ---------------===//
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 implements PNaCl TargetInfo objects.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#include "PNaCl.h"
14
#include "clang/Basic/MacroBuilder.h"
15
16
using namespace clang;
17
using namespace clang::targets;
18
19
0
ArrayRef<const char *> PNaClTargetInfo::getGCCRegNames() const { return None; }
20
21
0
ArrayRef<TargetInfo::GCCRegAlias> PNaClTargetInfo::getGCCRegAliases() const {
22
0
  return None;
23
0
}
24
25
void PNaClTargetInfo::getArchDefines(const LangOptions &Opts,
26
14
                                     MacroBuilder &Builder) const {
27
14
  Builder.defineMacro("__le32__");
28
14
  Builder.defineMacro("__pnacl__");
29
14
}