clang
20.0.0git
lib
Driver
ToolChains
FreeBSD.h
Go to the documentation of this file.
1
//===--- FreeBSD.h - FreeBSD 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_FREEBSD_H
10
#define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_FREEBSD_H
11
12
#include "
Gnu.h
"
13
#include "
clang/Driver/Driver.h
"
14
#include "
clang/Driver/ToolChain.h
"
15
16
namespace
clang
{
17
namespace
driver {
18
namespace
tools {
19
20
/// Directly call GNU Binutils assembler and linker
21
namespace
freebsd {
22
class
LLVM_LIBRARY_VISIBILITY
Assembler
final :
public
Tool
{
23
public
:
24
Assembler
(
const
ToolChain
&TC)
25
:
Tool
(
"freebsd::Assembler"
,
"assembler"
, TC) {}
26
27
bool
hasIntegratedCPP
()
const override
{
return
false
; }
28
29
void
ConstructJob(
Compilation
&C,
const
JobAction
&JA,
30
const
InputInfo
&Output,
const