[PATCH] D86362: Allow graph writer to render DOT nodes using HTML.

Jamie Schmeiser via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 21 12:32:10 PDT 2020


jamieschmeiser created this revision.
jamieschmeiser added reviewers: bkramer, madhur13490, george.karpenkov.
Herald added a project: LLVM.
jamieschmeiser requested review of this revision.

The labels for nodes in DOT can be expressed using HTML syntax
which allows colour to be specified within the text.  Add a
query to DefaultDOTGraphTraits defaulting to false that indicates
that the labels for nodes should be in HTML format.  This is
a prerequisite change for a new IR change reporter that will
presented in a tutorial in the LLVM developer's conference in Oct, 2020
(see https://hotcrp.llvm.org/usllvm2020/paper/29 for more details).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86362

Files:
  llvm/include/llvm/Support/DOTGraphTraits.h
  llvm/include/llvm/Support/GraphWriter.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86362.287083.patch
Type: text/x-patch
Size: 5274 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200821/8c249381/attachment.bin>


More information about the llvm-commits mailing list