|author||Mitch Curtis <firstname.lastname@example.org>||2018-01-11 12:26:32 +0100|
|committer||Edward Welbourne <email@example.com>||2018-01-17 18:09:41 +0000|
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 <firstname.lastname@example.org> Reviewed-by: Oswald Buddenhagen <email@example.com>
Diffstat (limited to 'config_help.txt')
1 files changed, 3 insertions, 0 deletions
diff --git a/config_help.txt b/config_help.txt
index 9c424391a9..0bb440b556 100644
@@ -121,6 +121,9 @@ Build options:
-gcov ................ Instrument with the GCov code coverage tool [no]
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)