clang 20.0.0git
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"
15
16namespace clang {
17namespace driver {
18namespace tools {
19
20/// Directly call GNU Binutils assembler and linker
21namespace freebsd {
22class LLVM_LIBRARY_VISIBILITY Assembler final : public Tool {
23public:
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