Build a detailed DOT label for a basic block, wrapping and stripping comments.
Declared in <llvm/Analysis/CFGPrinter.h>
template<typename BasicBlockT>
std::string
CompleteNodeLabelString(
BasicBlockT const* Node,
function_ref<void(raw_string_ostream&, BasicBlockT const&)> HandleBasicBlock,
function_ref<void(std::string&, unsigned int&, unsigned int)> HandleComment);
Formatted multi-line DOT label string for Node.
| Name | Description |
|---|---|
| Node | Basic block to label. |
| HandleBasicBlock | Callback that prints the block body into a stream. |
| HandleComment | Callback that erases or rewrites a comment span. |