[important Calling `deallocate()` with a `stack_context` not set by `allocate()`
results in undefined behaviour.]
-[note The stack is not required to be aligned; alignment takes place inside
-__econtext__.]
-
[note Depending on the architecture `allocate()` stores an address from the
top of the stack (growing downwards) or the bottom of the stack (growing
upwards).]
applying `BOOST_USE_SEGMENTED_STACKS` at b2/bjam command line.]
[note Segmented stacks can only be used with __cc__ (using
-[link implementation __ucontext__]) and __econtext__ (v1)].
+[link implementation __ucontext__])].
#include <boost/context/segmented_stack.hpp>
[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]