llvm::DisplayGraph

Display a DOT graph file with the given Graphviz program.

Synopsis

Declared in <llvm/Support/GraphWriter.h>

bool
DisplayGraph(
    StringRef Filename,
    bool wait = true,
    GraphProgram::Name program = GraphProgram::DOT);

Return Value

True if the graph was displayed successfully.

Parameters

NameDescription
FilenamePath of the DOT file to display.
waitIf true, wait for the viewer process to exit.
programGraphviz program used to render the graph.