[PATCH] D146591: [dataflow] add HTML logger: browse code/cfg/analysis timeline/state
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 27 04:24:14 PDT 2023
sammccall added inline comments.
================
Comment at: clang/lib/Analysis/FlowSensitive/HTMLLogger.html:19
+<header>Function</header>
+<div id="code"></div>
+<div id="cfg"></div>
----------------
gribozavr2 wrote:
> Could you add the file name and line number of the start location of the function?
>
> It might be helpful not only for the reader (to confirm that they are debugging the right thing), but also when finding the right html file using grep.
Added filename to the top of the code, and line numbers to each line.
(This seems nice for display, but doesn't allow you to grep for `foo.cpp:42` - is that critical?)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146591/new/
https://reviews.llvm.org/D146591
More information about the cfe-commits
mailing list