blob: a4806ac4ad69849be41492a8de70d92093d288f6 [file] [log] [blame]
Andrew Scull5e1ddfa2018-08-14 10:06:54 +01001//===- llvm-lib/LibDriver.h - lib.exe-compatible driver ---------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// Defines an interface to a lib.exe-compatible driver that also understands
11// bitcode files. Used by llvm-lib and lld-link /lib.
12//
13//===----------------------------------------------------------------------===//
14
15#ifndef LLVM_TOOLDRIVERS_LLVM_LIB_LIBDRIVER_H
16#define LLVM_TOOLDRIVERS_LLVM_LIB_LIBDRIVER_H
17
18namespace llvm {
19template <typename T> class ArrayRef;
20
21int libDriverMain(ArrayRef<const char *> ARgs);
22}
23
24#endif