[cfe-dev] Clang code instrumentation
milano
martin.moessner at online.de
Mon Mar 23 07:55:25 PDT 2015
Hi to all,
I'm newbie to clang and like to do some code instrumentation with it.
To instrument the statement coverage of functions i put some static
instrumentation counter
at proper code locations with AST rewriter.
At the end of every file instrumenation i'd like to correct the array number
of instrumented points
individually for each file within the static structure which includes an
array of int counters for each
detected file. This file could be a seperate header file or may be a part of
the instrumented file itself.
Does anyone has an idea how to achieve this in clang?
Thanks in advance
--
View this message in context: http://clang-developers.42468.n3.nabble.com/Clang-code-instrumentation-tp4044644.html
Sent from the Clang Developers mailing list archive at Nabble.com.
More information about the cfe-dev
mailing list