LLVM API Documentation

Classes | Functions | Variables
GraphWriter.cpp File Reference
#include "llvm/Support/GraphWriter.h"
#include "llvm/Config/config.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Program.h"
Include dependency graph for GraphWriter.cpp:

Go to the source code of this file.

Classes

struct  GraphSession

Functions

static bool ExecGraphViewer (StringRef ExecPath, std::vector< const char * > &args, StringRef Filename, bool wait, std::string &ErrMsg)
static const char * getProgramName (GraphProgram::Name program)

Variables

static cl::opt< boolViewBackground ("view-background", cl::Hidden, cl::desc("Execute graph viewer in the background. Creates tmp file litter."))

Function Documentation

static bool ExecGraphViewer ( StringRef  ExecPath,
std::vector< const char * > &  args,
StringRef  Filename,
bool  wait,
std::string &  ErrMsg 
) [static]
static const char* getProgramName ( GraphProgram::Name  program) [static]

Variable Documentation

cl::opt<bool> ViewBackground("view-background", cl::Hidden, cl::desc("Execute graph viewer in the background. Creates tmp file litter.")) [static]

Referenced by llvm::DisplayGraph().