Using the blacklist the user can filter own unwanted functions
from all outputs. By default blacklist contains "fun:__sancov*" line.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM with nits
test/tools/sancov/blacklist.test | ||
---|---|---|
2 ↗ | (On Diff #42255) | Please, also add a test case for the default blacklist. |
tools/sancov/sancov.cc | ||
88 ↗ | (On Diff #42255) | 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. |
Comment Actions
LGTM
tools/sancov/sancov.cc | ||
---|---|---|
385 ↗ | (On Diff #42930) | FYI: this approach seems error-prone, but it's ok for now. |
tools/sancov/sancov.cc | ||
---|---|---|
385 ↗ | (On Diff #42930) | ACK. |