Using the blacklist the user can filter own unwanted functions
from all outputs. By default blacklist contains "fun:__sancov*" line.
Details
Diff Detail
Event Timeline
LGTM with nits
test/tools/sancov/blacklist.test | ||
---|---|---|
2 | Please, also add a test case for the default blacklist. | |
tools/sancov/sancov.cc | ||
88 | Do we ever want to see __sancov* functions in the output? Right now, the logic is:
It means that the following weird behavior is possible: a user creates a blacklist, puts a function or two there, runs the tool with the blacklist specified and gets *more* output than without --blacklist. If would rather not have a default blacklist, or always have it. No strong opinion though. |
LGTM
tools/sancov/sancov.cc | ||
---|---|---|
364 | FYI: this approach seems error-prone, but it's ok for now. |
tools/sancov/sancov.cc | ||
---|---|---|
364 | ACK. |
Please, also add a test case for the default blacklist.