xazax.hun added a comment.

While I am OK with this approach, I wonder if it would be too much work to 
split the HTML generation and emitting data up. E.g., the logger could emit 
YAML or JSON that could be parsed by a python script to create the HTML (or the 
HTML itself could use JS to parse it and generate the DOM).
This would have a couple of advantages like:

- People could add additional visualizations or other tools like querying 
program states more easily just consuming the JSON/YAML file
- Other static analysis tools could produce similar YAML/JSON so your 
visualization could potentially work for other analysis tools. E.g., I think 
people were working on a dataflow analysis framework for MLIR.

What do you think?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146591/new/

https://reviews.llvm.org/D146591

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to