diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-05-16 19:46:52 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-05-16 19:46:52 +0000 |
commit | 6b3f41ed88e8e440e11a4fbf20b6600529f80049 (patch) | |
tree | 928b056f24a634d628c80238dbbf10d41b1a71d5 /include/llvm/ToolDrivers/llvm-lib/LibDriver.h | |
parent | c46e6a5940c50058e00c0c5f9123fd82e338d29a (diff) |
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 |