|
LLVM
3.7.0
|
#include "llvm/LibDriver/LibDriver.h"#include "llvm/ADT/STLExtras.h"#include "llvm/Object/ArchiveWriter.h"#include "llvm/Option/Arg.h"#include "llvm/Option/ArgList.h"#include "llvm/Option/Option.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/StringSaver.h"#include "llvm/Support/Path.h"#include "llvm/Support/Process.h"#include "llvm/Support/raw_ostream.h"#include "Options.inc"Go to the source code of this file.
Macros | |
| #define | OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11) OPT_##ID, |
| #define | PREFIX(NAME, VALUE) const char *const NAME[] = VALUE; |
| #define | OPTION(X1, X2, ID, KIND, GROUP, ALIAS, X6, X7, X8, X9, X10) |
Enumerations | |
| enum | |
Functions | |
| static std::string | getOutputPath (llvm::opt::InputArgList *Args, const llvm::NewArchiveIterator &FirstMember) |
| static std::vector< StringRef > | getSearchPaths (llvm::opt::InputArgList *Args, StringSaver &Saver) |
| static Optional< std::string > | findInputFile (StringRef File, ArrayRef< StringRef > Paths) |
| #define OPTION | ( | _1, | |
| _2, | |||
| ID, | |||
| _4, | |||
| _5, | |||
| _6, | |||
| _7, | |||
| _8, | |||
| _9, | |||
| _10, | |||
| _11 | |||
| ) | OPT_##ID, |
Definition at line 33 of file LibDriver.cpp.
| #define OPTION | ( | X1, | |
| X2, | |||
| ID, | |||
| KIND, | |||
| GROUP, | |||
| ALIAS, | |||
| X6, | |||
| X7, | |||
| X8, | |||
| X9, | |||
| X10 | |||
| ) |
Definition at line 33 of file LibDriver.cpp.
Definition at line 38 of file LibDriver.cpp.
| anonymous enum |
Definition at line 31 of file LibDriver.cpp.
Definition at line 91 of file LibDriver.cpp.
References llvm::sys::path::append(), llvm::sys::fs::exists(), llvm::StringRef::str(), and llvm::SmallString< InternalLen >::str().
Referenced by llvm::libDriverMain().
|
static |
Definition at line 59 of file LibDriver.cpp.
References llvm::opt::ArgList::getLastArg(), llvm::NewArchiveIterator::getNew(), llvm::sys::path::replace_extension(), and llvm::SmallString< InternalLen >::str().
Referenced by llvm::libDriverMain().
|
static |
Definition at line 68 of file LibDriver.cpp.
References llvm::StringRef::empty(), llvm::opt::ArgList::filtered(), llvm::sys::Process::GetEnv(), llvm::Optional< T >::hasValue(), llvm::MipsISD::Ret, llvm::StringSaver::save(), and llvm::StringRef::split().
Referenced by llvm::libDriverMain().
1.8.6