xref: /NextBSD/contrib/llvm/include/llvm/LibDriver/LibDriver.h (revision 84d351007654069f9643c8e4b4802a7f5f08ee42)
1 //===- llvm/LibDriver/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-link2 /lib.
12 //
13 //===----------------------------------------------------------------------===//
14 
15 #ifndef LLVM_LIBDRIVER_LIBDRIVER_H
16 #define LLVM_LIBDRIVER_LIBDRIVER_H
17 
18 #include "llvm/ADT/ArrayRef.h"
19 
20 namespace llvm {
21 
22 int libDriverMain(llvm::ArrayRef<const char*> ARgs);
23 
24 }
25 
26 #endif
27