xref: /llvm-project/llvm/include/llvm/ToolDrivers/llvm-lib/LibDriver.h (revision 1dc2123d640b486f6d1bf1bf252d9c3e63a19bf3)
1c6f07c42SPeter Collingbourne //===- llvm-lib/LibDriver.h - lib.exe-compatible driver ---------*- C++ -*-===//
2c6f07c42SPeter Collingbourne //
32946cd70SChandler Carruth // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
42946cd70SChandler Carruth // See https://llvm.org/LICENSE.txt for license information.
52946cd70SChandler Carruth // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6c6f07c42SPeter Collingbourne //
7c6f07c42SPeter Collingbourne //===----------------------------------------------------------------------===//
8c6f07c42SPeter Collingbourne //
9c6f07c42SPeter Collingbourne // Defines an interface to a lib.exe-compatible driver that also understands
10c6f07c42SPeter Collingbourne // bitcode files. Used by llvm-lib and lld-link /lib.
11c6f07c42SPeter Collingbourne //
12c6f07c42SPeter Collingbourne //===----------------------------------------------------------------------===//
13c6f07c42SPeter Collingbourne 
14c6f07c42SPeter Collingbourne #ifndef LLVM_TOOLDRIVERS_LLVM_LIB_LIBDRIVER_H
15c6f07c42SPeter Collingbourne #define LLVM_TOOLDRIVERS_LLVM_LIB_LIBDRIVER_H
16c6f07c42SPeter Collingbourne 
17c6f07c42SPeter Collingbourne namespace llvm {
18c6f07c42SPeter Collingbourne template <typename T> class ArrayRef;
19c6f07c42SPeter Collingbourne 
20c6f07c42SPeter Collingbourne int libDriverMain(ArrayRef<const char *> ARgs);
21*b941fa88SNico Weber 
22c6f07c42SPeter Collingbourne }
23c6f07c42SPeter Collingbourne 
24c6f07c42SPeter Collingbourne #endif
25