Andrew Scull | 5e1ddfa | 2018-08-14 10:06:54 +0100 | [diff] [blame] | 1 | //===- llvm-lib/LibDriver.h - lib.exe-compatible driver ---------*- C++ -*-===// |
| 2 | // |
Andrew Walbran | 16937d0 | 2019-10-22 13:54:20 +0100 | [diff] [blame] | 3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 | // See https://llvm.org/LICENSE.txt for license information. |
| 5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
Andrew Scull | 5e1ddfa | 2018-08-14 10:06:54 +0100 | [diff] [blame] | 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | // |
| 9 | // Defines an interface to a lib.exe-compatible driver that also understands |
| 10 | // bitcode files. Used by llvm-lib and lld-link /lib. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | #ifndef LLVM_TOOLDRIVERS_LLVM_LIB_LIBDRIVER_H |
| 15 | #define LLVM_TOOLDRIVERS_LLVM_LIB_LIBDRIVER_H |
| 16 | |
| 17 | namespace llvm { |
| 18 | template <typename T> class ArrayRef; |
| 19 | |
| 20 | int libDriverMain(ArrayRef<const char *> ARgs); |
Andrew Walbran | 3d2c197 | 2020-04-07 12:24:26 +0100 | [diff] [blame] | 21 | |
Andrew Scull | 5e1ddfa | 2018-08-14 10:06:54 +0100 | [diff] [blame] | 22 | } |
| 23 | |
| 24 | #endif |