LLVM
22.0.0git
include
llvm
ToolDrivers
llvm-lib
LibDriver.h
Go to the documentation of this file.
1
//===- llvm-lib/LibDriver.h - lib.exe-compatible driver ---------*- 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
// Defines an interface to a lib.exe-compatible driver that also understands
10
// bitcode files. Used by llvm-lib and lld-link /lib.
11
//
12
//===----------------------------------------------------------------------===//
13
14
#ifndef LLVM_TOOLDRIVERS_LLVM_LIB_LIBDRIVER_H
15
#define LLVM_TOOLDRIVERS_LLVM_LIB_LIBDRIVER_H
16
17
#include "
llvm/Support/Compiler.h
"
18
19
namespace
llvm
{
20
template
<
typename
T>
class
ArrayRef
;
21
22
LLVM_ABI
int
libDriverMain
(
ArrayRef<const char *>
ARgs);
23
}
24
25
#endif
Compiler.h
LLVM_ABI
#define LLVM_ABI
Definition
Compiler.h:213
llvm::ArrayRef
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
Definition
ArrayRef.h:41
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition
AddressRanges.h:18
llvm::libDriverMain
LLVM_ABI int libDriverMain(ArrayRef< const char * > ARgs)
Definition
LibDriver.cpp:316
Generated on
for LLVM by
1.14.0