From 8c023326c79b4fdb7eaa26600b1af622f5bce318 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Thu, 11 Jan 2018 12:26:32 +0100 Subject: 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 Reviewed-by: Oswald Buddenhagen --- config_help.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config_help.txt') 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 .... Select C++ standard [c++1z/c++14/c++11] (Not supported with MSVC) -- cgit v1.2.3