How to exclude list of functions

hi,
Is there anyway to exclude the list of functions from multiple files (cpp/c) in code coverage reports using llvm ?

Thanks for ur support.

Regards,
Raj

Perhaps https://llvm.org/docs/CommandGuide/llvm-cov.html#cmdoption-llvm-cov-export-ignore-filename-regex gets you some of the way, not sure how you’d exclude specific functions.

I wonder if it might be easier to exclude them from generating coverage data in the first place, but I don’t know the specifics of that, or of your project. That may not be viable for you to do.

Hi David,
Thanks for response.
-ignore-filename-regex – This help us to exclude the unwanted files but how do exclude the list of functions from different file from coverage report.
I am unable to use “-skip-functions” for multiple functions.

Regards,
Raj