Getting Code coverage in memory/queue

Greetings!

Regarding – https://clang.llvm.org/docs/SourceBasedCodeCoverage.html

Can you please suggest options available to get Coverage in memory-map or in pipe or via queue or any other mechanisms (instead of dumping into file!) ?

Thank you in advanced for your suggestions.

-Hiral