]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lld/include/lld/Driver/Driver.h
MFV r310115,310184:
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lld / include / lld / Driver / Driver.h
1 //===- lld/Driver/Driver.h - Linker Driver Emulator -----------------------===//
2 //
3 //                             The LLVM Linker
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef LLD_DRIVER_DRIVER_H
11 #define LLD_DRIVER_DRIVER_H
12
13 #include "llvm/ADT/ArrayRef.h"
14 #include "llvm/Support/raw_ostream.h"
15
16 namespace lld {
17 namespace coff {
18 bool link(llvm::ArrayRef<const char *> Args);
19 }
20
21 namespace elf {
22 bool link(llvm::ArrayRef<const char *> Args,
23           llvm::raw_ostream &Diag = llvm::errs());
24 }
25
26 namespace mach_o {
27 bool link(llvm::ArrayRef<const char *> Args,
28           llvm::raw_ostream &Diag = llvm::errs());
29 }
30 }
31
32 #endif