This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Compiling for code coverage in CHERI LLVM

We have managed to build and run some code on the Morello platform, including our unit testing code, but so far haven't been able to enable the options for generating code coverage reports. Has anyone else tried to do this? It does work as expected on regular x86-64 platforms.

Here are the relevant parts of the CMakeLists.txt:

And here is the error output:

My guess is that some relevant library simply isn't CHERI-ready, but I'm at the edge of my understanding here.

Thanks.

0