[Lldb-commits] [PATCH] D85705: Add a "Trace" plug-in to LLDB to add process trace support in stages.
walter erquinigo via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Aug 21 12:18:11 PDT 2020
wallace updated this revision to Diff 287079.
wallace added a comment.
- Added libipt as a dependency to build the new intel pt plugin. It's merely a
copy paste of what the old intel pt plugin does.
- Added a test with a sample trace.json definition file. It includes a simple
a.out object file, the source and an intel pt trace that goes from main to the
final return 0. The test checks that the plugin does the parsing of the
structured data correctly and creates the target, process and modules correctly.
- Added the necessary parsing functionalities in Trace.cpp to make sense of the
- Added a simple parsing of the intel pt-specific information in the structured
I didn't implement Dump nor Decoding, as in this case the test is quite
comprehensive regarding Load and I want to keep the diff small. I'll implement
the other features later.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 40074 bytes
Desc: not available
More information about the lldb-commits