LLVM  8.0.1
Functions
Program.cpp File Reference
#include "llvm/Support/Program.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Config/llvm-config.h"
#include <system_error>
#include "Unix/Program.inc"
Include dependency graph for Program.cpp:

Go to the source code of this file.

Functions

static bool Execute (ProcessInfo &PI, StringRef Program, ArrayRef< StringRef > Args, Optional< ArrayRef< StringRef >> Env, ArrayRef< Optional< StringRef >> Redirects, unsigned MemoryLimit, std::string *ErrMsg)
 

Function Documentation

◆ Execute()

static bool Execute ( ProcessInfo PI,
StringRef  Program,
ArrayRef< StringRef Args,
Optional< ArrayRef< StringRef >>  Env,
ArrayRef< Optional< StringRef >>  Redirects,
unsigned  MemoryLimit,
std::string *  ErrMsg 
)
static