minimal example:
#include<boost/context/all.hpp>namespacebcx= boost::context;
intmain(){
auto c = bcx::callcc([](bcx::continuation&& c_){
try {
throw5;
} catch(constint&){
}
returnstd::move(c_);
});
}output:
==21820==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x7ffc47270000; bottom 0x631000023000; size: 0x1cec4724d000 (31801131454464)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
clang v5.0.0 and gcc 7.2.1, boost 1.65.1
minimal example:
output:
clang v5.0.0 and gcc 7.2.1, boost 1.65.1