1 //===- lld/Common/Driver.h - Linker Driver Emulator -----------------------===//
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLD_COMMON_DRIVER_H
11 #define LLD_COMMON_DRIVER_H
13 #include "llvm/ADT/ArrayRef.h"
14 #include "llvm/Support/raw_ostream.h"
18 bool link(llvm::ArrayRef<const char *> Args, bool CanExitEarly,
19 llvm::raw_ostream &Diag = llvm::errs());
23 bool link(llvm::ArrayRef<const char *> Args,
24 llvm::raw_ostream &Diag = llvm::errs());
28 bool link(llvm::ArrayRef<const char *> Args, bool CanExitEarly,
29 llvm::raw_ostream &Diag = llvm::errs());
33 bool link(llvm::ArrayRef<const char *> Args, bool CanExitEarly,
34 llvm::raw_ostream &Diag = llvm::errs());
38 bool link(llvm::ArrayRef<const char *> Args, bool CanExitEarly,
39 llvm::raw_ostream &Diag = llvm::errs());