summaryrefslogtreecommitdiffstats
path: root/config_help.txt
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@qt.io>2019-12-19 17:51:21 +0100
committerRobert Loehning <robert.loehning@qt.io>2020-01-28 20:26:15 +0000
commit94bc57213f9a8a74e9e7520de68d7bba7f42ea4c (patch)
tree129ab902c9e3dc54183b583d6159dd9642882a72 /config_help.txt
parenta611c632bb906cf77dd3af29ddd7b166f79ad1b0 (diff)
configure: Add switch for clang's "source-based" code coverage feature
This adds instrumentation to the binaries. At the end of their execution, these will then write a file containing information which code was executed. This can be used for code coverage analysis. [ChangeLog][QtCore][configure] Add switch "-coverage source-based" to enable clang's "source-based" code coverage feature. This can be used for code coverage analysis. Change-Id: If31c6849aa797ff8820e041e85a492a14e2f1a6b Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'config_help.txt')
-rw-r--r--config_help.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/config_help.txt b/config_help.txt
index 5cba7316b1..ee176c0451 100644
--- a/config_help.txt
+++ b/config_help.txt
@@ -137,8 +137,10 @@ Build options:
for example, -sanitize address cannot be combined with
-sanitize thread.
- -coverage {trace-pc-guard}
- Add code coverage instrumentation (Clang only)
+ -coverage {trace-pc-guard|source-based}
+ Specify the 'trace-pc-guard' coverage instrumentation for
+ sanitizers or generate instrumented code to collect execution
+ counts and enable code coverage analysis, respectively. (Clang only)
-c++std <edition> .... Select C++ standard <edition> [c++2a/c++17/c++14/c++11]
(Not supported with MSVC 2015)