65 {
throw std::exception(); }
71 std::ostream &
operator<<(std::ostream &os,
const raii &unused)
104 bfunwind_ut::test_catch_all()
122 bfunwind_ut::test_catch_bool()
143 bfunwind_ut::test_catch_int()
164 bfunwind_ut::test_catch_cstr()
173 catch (
const char *val)
185 bfunwind_ut::test_catch_string()
206 bfunwind_ut::test_catch_exception()
215 catch (std::exception &e)
226 bfunwind_ut::test_catch_custom_exception()
246 bfunwind_ut::test_catch_multiple_catches_per_function()
254 catch (std::exception &e)
266 catch (std::exception &e)
278 catch (std::exception &e)
287 bfunwind_ut::test_catch_raii()
302 catch (std::exception &e)
312 bfunwind_ut::test_catch_throw_from_stream()
319 std::cout << raii1 <<
'\n';
321 catch (std::exception &e)
330 bfunwind_ut::test_catch_nested_throw_in_catch()
332 auto caught1 =
false;
333 auto caught2 =
false;
341 catch (std::exception &e)
348 catch (std::exception &e)
358 bfunwind_ut::test_catch_nested_throw_outside_catch()
360 auto caught1 =
false;
361 auto caught2 =
false;
369 catch (std::exception &e)
376 catch (std::exception &e)
386 bfunwind_ut::test_catch_nested_throw_uncaught()
388 auto caught1 =
false;
389 auto caught2 =
false;
402 catch (std::exception &e)
412 bfunwind_ut::test_catch_nested_throw_rethrow()
414 auto caught1 =
false;
415 auto caught2 =
false;
423 catch (std::exception &e)
429 catch (std::exception &e)
439 bfunwind_ut::test_catch_throw_with_lots_of_register_mods()
455 catch (std::exception &e)
483 catch (std::exception &e)
std::ostream & operator<<(std::ostream &os, const raii &unused)
void throw_custom_exception_func()
constexpr const auto string
void throw_exception_func()