From 33a2e7c3d2b18106534709151e651432921962fe Mon Sep 17 00:00:00 2001 From: mayl Date: Mon, 11 Nov 2019 06:47:02 +0900 Subject: [PATCH] Document lack of clang support [skip ci] Meson doesn't currently provide a very helpful message when trying to generate a coverage report with clang, and in fact just silently fails for 2 of the 3 reports. Ideally Meson would support coverage with llvm-cov, or provide a more helpful error message. Until then, it seems it would be helpful to at least put a warning in the documentation --- docs/markdown/howtox.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/markdown/howtox.md b/docs/markdown/howtox.md index 8ae4fdeff..188f1f72b 100644 --- a/docs/markdown/howtox.md +++ b/docs/markdown/howtox.md @@ -118,6 +118,9 @@ $ ninja coverage-html (or coverage-xml) The coverage report can be found in the meson-logs subdirectory. +Note: Currently, Meson does not support generating coverage reports +with Clang. + ## Add some optimization to debug builds By default the debug build does not use any optimizations. This is the