From 5616e42bd96a46832bf1c5d097e374596b34f78b Mon Sep 17 00:00:00 2001 From: Oliver Kowalke Date: Wed, 2 Oct 2019 08:19:27 +0200 Subject: [PATCH] docu: support for sanitizers --- doc/stack.qbk | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/stack.qbk b/doc/stack.qbk index a41dcb2..3201f2e 100644 --- a/doc/stack.qbk +++ b/doc/stack.qbk @@ -332,5 +332,16 @@ as stack space which suppresses the errors. [endsect] +[section:sanitizers Support for sanitizers] + +Sanitizers (GCC/Clang) are confused by the stack switches. +The library is required to be compiled with property (b2 command-line) +`context-impl=ucontext` and compilers santizer options. +Users must define `BOOST_USE_ASAN` before including any Boost.Context headers +when linking against Boost binaries. + +[endsect] + + [endsect]