|
ErrorOr< std::string > | llvm::sys::findProgramByName (StringRef Name, ArrayRef< StringRef > Paths={}) |
| Find the first executable file Name in Paths . More...
|
|
std::error_code | llvm::sys::ChangeStdinToBinary () |
|
std::error_code | llvm::sys::ChangeStdoutToBinary () |
|
int | llvm::sys::ExecuteAndWait (StringRef Program, ArrayRef< StringRef > Args, Optional< ArrayRef< StringRef >> Env=None, ArrayRef< Optional< StringRef >> Redirects={}, unsigned SecondsToWait=0, unsigned MemoryLimit=0, std::string *ErrMsg=nullptr, bool *ExecutionFailed=nullptr) |
| This function executes the program using the arguments provided. More...
|
|
ProcessInfo | llvm::sys::ExecuteNoWait (StringRef Program, ArrayRef< StringRef > Args, Optional< ArrayRef< StringRef >> Env, ArrayRef< Optional< StringRef >> Redirects={}, unsigned MemoryLimit=0, std::string *ErrMsg=nullptr, bool *ExecutionFailed=nullptr) |
| Similar to ExecuteAndWait, but returns immediately. More...
|
|
bool | llvm::sys::commandLineFitsWithinSystemLimits (StringRef Program, ArrayRef< StringRef > Args) |
| Return true if the given arguments fit within system-specific argument length limits. More...
|
|
bool | llvm::sys::commandLineFitsWithinSystemLimits (StringRef Program, ArrayRef< const char *> Args) |
| Return true if the given arguments fit within system-specific argument length limits. More...
|
|
std::error_code | llvm::sys::writeFileWithEncoding (StringRef FileName, StringRef Contents, WindowsEncodingMethod Encoding=WEM_UTF8) |
| Saves the UTF8-encoded contents string into the file FileName using a specific encoding. More...
|
|
ProcessInfo | llvm::sys::Wait (const ProcessInfo &PI, unsigned SecondsToWait, bool WaitUntilTerminates, std::string *ErrMsg=nullptr) |
| This function waits for the process specified by PI to finish. More...
|
|