v.23.11Build/Testing/Packaging Improvement
Add SANITIZE_COVERAGE Build Option for Code Coverage Tracking in ClickHouse
Add a new build optionSANITIZE_COVERAGE. If it is enabled, the code is instrumented to track the coverage. The collected information is available inside ClickHouse with: (1) a new functioncoveragethat returns an array of unique addresses in the code found after the previous coverage reset; (2)SYSTEM RESET COVERAGEquery that resets the accumulated data. This allows us to compare the coverage of different tests, including differential code coverage. Continuation of #20539. #56102 (Alexey Milovidov).