Coverage Report

Created: 2020-09-19 12:23

/Users/buildslave/jenkins/workspace/coverage/llvm-project/clang/lib/Driver/ToolChains/ZOS.h
Line
Count
Source
1
//===--- ZOS.h - z/OS ToolChain Implementations -----------------*- C++ -*-===//
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
#ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ZOS_H
10
#define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ZOS_H
11
12
#include "clang/Driver/Tool.h"
13
#include "clang/Driver/ToolChain.h"
14
15
namespace clang {
16
namespace driver {
17
namespace toolchains {
18
19
class LLVM_LIBRARY_VISIBILITY ZOS : public ToolChain {
20
public:
21
  ZOS(const Driver &D, const llvm::Triple &Triple,
22
      const llvm::opt::ArgList &Args);
23
  ~ZOS() override;
24
25
3
  bool isPICDefault() const override { return false; }
26
3
  bool isPIEDefault() const override { return false; }
27
3
  bool isPICDefaultForced() const override { return false; }
28
29
12
  bool IsIntegratedAssemblerDefault() const override { return true; }
30
31
  void addClangTargetOptions(
32
      const llvm::opt::ArgList &DriverArgs, llvm::opt::ArgStringList &CC1Args,
33
      Action::OffloadKind DeviceOffloadingKind) const override;
34
};
35
36
} // end namespace toolchains
37
} // end namespace driver
38
} // end namespace clang
39
40
#endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ZOS_H