Dump a DOT graph to the user‐provided file name.

Synopsis

Declared in <llvm/Support/GraphWriter.h>

template<typename GraphType>
void
dumpDotGraphToFile(
    GraphType const& G,
    Twine const& FileName,
    Twine const& Title,
    bool ShortNames = false,
    Twine const& Name = "");

Parameters

Name

Description

G

Graph to write.

FileName

Destination path for the DOT file.

Title

Optional title used as the graph name and label.

ShortNames

If true, request short names from the DOT traits.

Name

Twine used when generating a temporary file name.

Created with MrDocs