2015-06-09 21:50:22 +00: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
|
|
|
|
// bitcode files. Used by llvm-lib and lld-link2 /lib.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef LLVM_LIBDRIVER_LIBDRIVER_H
|
|
|
|
#define LLVM_LIBDRIVER_LIBDRIVER_H
|
|
|
|
|
2015-06-21 06:31:56 +00:00
|
|
|
#include "llvm/ADT/ArrayRef.h"
|
|
|
|
|
2015-06-09 21:50:22 +00:00
|
|
|
namespace llvm {
|
|
|
|
|
2015-06-21 06:31:56 +00:00
|
|
|
int libDriverMain(llvm::ArrayRef<const char*> ARgs);
|
2015-06-09 21:50:22 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|