minimal example:
#include <boost/context/all.hpp>
namespace bcx = boost::context;
int main(){
auto c = bcx::callcc([](bcx::continuation&& c_){
try {
throw 5;
} catch(const int&){
}
return std::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