summaryrefslogtreecommitdiffstats
path: root/config_help.txt
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2018-01-11 12:26:32 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2018-01-17 18:09:41 +0000
commit8c023326c79b4fdb7eaa26600b1af622f5bce318 (patch)
treefcd6b1a0fbe607c120f5a87759368c201e8af343 /config_help.txt
parent40e87491886957696486b87dc2dedec2adaf6e1a (diff)
config_help.txt: document that some sanitize combinations are not valid
Saves people the trouble of trying it out themselves. When I tried "address" and "thread", I got: cc1plus: error: -fsanitize=address and -fsanitize=kernel-address are incompatible with -fsanitize=thread Change-Id: I48ae817e60d0b71d5349e1dbce8706cc8430c2c4 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'config_help.txt')
-rw-r--r--config_help.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/config_help.txt b/config_help.txt
index 9c424391a9..0bb440b556 100644
--- a/config_help.txt
+++ b/config_help.txt
@@ -121,6 +121,9 @@ Build options:
-gcov ................ Instrument with the GCov code coverage tool [no]
-sanitize {address|thread|memory|undefined}
Instrument with the specified compiler sanitizer.
+ Note that some sanitizers cannot be combined;
+ for example, -sanitize address cannot be combined with
+ -sanitize thread.
-c++std <edition> .... Select C++ standard <edition> [c++1z/c++14/c++11]
(Not supported with MSVC)