[PATCH] [extra] pptrace - preprocessor tracing and testing tool
john.thompson.jtsoftware at gmail.com
Thu Oct 24 13:46:52 PDT 2013
Hi silvas, kimgr,
pp-trace is a tool for displaying preprocessor activity by means of the PPCallbacks interface. Its primary reason for existence is for testing the PPCallbacks mechanism, but it also might be useful as a tool for understanding preprocessor activity (as an alternative to clang's -P option for looking at preprocessor output).
This is a first cut, for proof of concept, with only two tests for demonstration purposes.
It supports two output formats, YAML and a generic format. Originally I just put in the YAML, but I felt it was kind of verbose, so I added the generic format as a default.
Please see the file comments for details.
Documentation and more tests will follow in a later checkin.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 75451 bytes
Desc: not available
More information about the cfe-commits