1 //===- llvm-lib/LibDriver.h - lib.exe-compatible driver ---------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 // Defines an interface to a lib.exe-compatible driver that also understands
10 // bitcode files. Used by llvm-lib and lld-link /lib.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_TOOLDRIVERS_LLVM_LIB_LIBDRIVER_H
15 #define LLVM_TOOLDRIVERS_LLVM_LIB_LIBDRIVER_H
18 template <typename T
> class ArrayRef
;
20 int libDriverMain(ArrayRef
<const char *> ARgs
);