1 //===- llvm/LibDriver/LibDriver.h - lib.exe-compatible driver ---*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // Defines an interface to a lib.exe-compatible driver that also understands
11 // bitcode files. Used by llvm-lib and lld-link2 /lib.
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_LIBDRIVER_LIBDRIVER_H
16 #define LLVM_LIBDRIVER_LIBDRIVER_H
18 #include "llvm/ADT/ArrayRef.h"
22 int libDriverMain(llvm::ArrayRef<const char*> ARgs);