LLVM 22.0.0git
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
18
19namespace llvm {
20template <typename T> class ArrayRef;
21
23}
24
25#endif
#define LLVM_ABI
Definition Compiler.h:213
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
Definition ArrayRef.h:41
This is an optimization pass for GlobalISel generic memory operations.
LLVM_ABI int libDriverMain(ArrayRef< const char * > ARgs)