clang
3.7.0
|
#include <Job.h>
Public Member Functions | |
FallbackCommand (const Action &Source_, const Tool &Creator_, const char *Executable_, const ArgStringList &Arguments_, std::unique_ptr< Command > Fallback_) | |
void | Print (llvm::raw_ostream &OS, const char *Terminator, bool Quote, CrashReportInfo *CrashInfo=nullptr) const override |
int | Execute (const StringRef **Redirects, std::string *ErrMsg, bool *ExecutionFailed) const override |
![]() | |
Command (const Action &Source, const Tool &Creator, const char *Executable, const llvm::opt::ArgStringList &Arguments) | |
virtual | ~Command () |
const Action & | getSource () const |
getSource - Return the Action which caused the creation of this job. More... | |
const Tool & | getCreator () const |
getCreator - Return the Tool which caused the creation of this job. More... | |
void | setResponseFile (const char *FileName) |
Set to pass arguments via a response file when launching the command. More... | |
void | setInputFileList (llvm::opt::ArgStringList List) |
const char * | getExecutable () const |
const llvm::opt::ArgStringList & | getArguments () const |
Additional Inherited Members | |
![]() | |
static void | printArg (llvm::raw_ostream &OS, const char *Arg, bool Quote) |
Print a command argument, and optionally quote it. More... | |
Like Command, but with a fallback which is executed in case the primary command crashes.
|
overridevirtual |
Reimplemented from clang::driver::Command.
Definition at line 275 of file Job.cpp.
References clang::driver::Driver::Diag(), clang::driver::Command::Execute(), clang::driver::Command::getCreator(), clang::driver::ToolChain::getDriver(), clang::driver::Tool::getToolChain(), and ShouldFallback().
|
overridevirtual |
Reimplemented from clang::driver::Command.
Definition at line 261 of file Job.cpp.
References clang::driver::Command::Print().