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>
bb10
Mitch Curtis 2018-01-11 12:26:32 +01:00 committed by Edward Welbourne
parent 40e8749188
commit 8c023326c7
1 changed files with 3 additions and 0 deletions

View File

@ -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)