2015-06-09 23:50:22 +02:00
|
|
|
//===- llvm/LibDriver/LibDriver.h - lib.exe-compatible driver ---*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// Defines an interface to a lib.exe-compatible driver that also understands
|
2015-08-06 21:00:42 +02:00
|
|
|
// bitcode files. Used by llvm-lib and lld-link /lib.
|
2015-06-09 23:50:22 +02:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef LLVM_LIBDRIVER_LIBDRIVER_H
|
|
|
|
#define LLVM_LIBDRIVER_LIBDRIVER_H
|
|
|
|
|
|
|
|
namespace llvm {
|
2016-04-18 11:17:29 +02:00
|
|
|
template <typename T> class ArrayRef;
|
2015-06-09 23:50:22 +02:00
|
|
|
|
2016-04-18 11:17:29 +02:00
|
|
|
int libDriverMain(ArrayRef<const char *> ARgs);
|
2015-06-09 23:50:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|