blob: 23a2fc348a892728217505d481580eb632fab5e0 [file] [log] [blame]
Andrew Scull5e1ddfa2018-08-14 10:06:54 +01001//===- llvm-lib/LibDriver.h - lib.exe-compatible driver ---------*- C++ -*-===//
2//
Andrew Walbran16937d02019-10-22 13:54:20 +01003// 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
Andrew Scull5e1ddfa2018-08-14 10:06:54 +01006//
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
17namespace llvm {
18template <typename T> class ArrayRef;
19
20int libDriverMain(ArrayRef<const char *> ARgs);
Andrew Walbran3d2c1972020-04-07 12:24:26 +010021
Andrew Scull5e1ddfa2018-08-14 10:06:54 +010022}
23
24#endif