LLVM
8.0.1
|
#include "llvm/Support/GraphWriter.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Config/config.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/ErrorOr.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Program.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include <system_error>
#include <string>
#include <vector>
Go to the source code of this file.
Functions | |
static bool | ExecGraphViewer (StringRef ExecPath, std::vector< StringRef > &args, StringRef Filename, bool wait, std::string &ErrMsg) |
static const char * | getProgramName (GraphProgram::Name program) |
Variables | |
static cl::opt< bool > | ViewBackground ("view-background", cl::Hidden, cl::desc("Execute graph viewer in the background. Creates tmp file litter.")) |
|
static |
Definition at line 94 of file GraphWriter.cpp.
References llvm::errs(), llvm::sys::ExecuteAndWait(), llvm::sys::ExecuteNoWait(), llvm::sys::findProgramByName(), Name, llvm::None, P, llvm::sys::fs::remove(), and llvm::StringRef::split().
Referenced by llvm::DisplayGraph().
|
static |
Definition at line 133 of file GraphWriter.cpp.
References llvm::GraphProgram::CIRCO, llvm::GraphProgram::DOT, llvm::GraphProgram::FDP, llvm_unreachable, llvm::GraphProgram::NEATO, and llvm::GraphProgram::TWOPI.
Referenced by llvm::DisplayGraph().