[RFC][PATCH 0/3] objtool: KCOV vs noinstr

From: Peter Zijlstra
Date: Fri Jun 12 2020 - 10:37:54 EST


Hi All,

These patches go on top of objtool/core, although possibly we need them earlier.

In order to solve the KCOV-vs-noinstr situation, we need objtool to rewrite
calls to __sanitizer_cov_*() into NOPs, similar to what recordmcount does.

I'm hoping the pending objtool-recordmcount patches can also reuse some of this.