diff options
Diffstat (limited to 'include/llvm/ToolDrivers/llvm-lib/LibDriver.h')
-rw-r--r-- | include/llvm/ToolDrivers/llvm-lib/LibDriver.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/llvm/ToolDrivers/llvm-lib/LibDriver.h b/include/llvm/ToolDrivers/llvm-lib/LibDriver.h new file mode 100644 index 000000000000..a4806ac4ad69 --- /dev/null +++ b/include/llvm/ToolDrivers/llvm-lib/LibDriver.h @@ -0,0 +1,24 @@ +//===- llvm-lib/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-link /lib. +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_TOOLDRIVERS_LLVM_LIB_LIBDRIVER_H +#define LLVM_TOOLDRIVERS_LLVM_LIB_LIBDRIVER_H + +namespace llvm { +template <typename T> class ArrayRef; + +int libDriverMain(ArrayRef<const char *> ARgs); +} + +#endif |