| commit | 03d7a4beb2af037168af6c040880c599ade6ace5 | [log] [tgz] | 
|---|---|---|
| author | Vernon Mauery <vernon.mauery@linux.intel.com> | Tue Jan 19 11:22:17 2021 -0800 | 
| committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Wed Sep 01 02:52:55 2021 +0000 | 
| tree | 8dc5e34d8170701cd1c74dfb8a7c49bc9a990b77 | |
| parent | 997952af86d4df7878c99b75fed36ae7929dd60f [diff] | 
properly handle unexpected exceptions
Prior code followed a poorly explained example and then would
just re-throw the exception without actually catching it. The
new code (while specific to gcc and clang) will log the unexpected
exception type so it will not be fatal.
Tested: throw an std::string in a handler and see that it is not fatal.
        MESSAGE=Handler failed to catch exception
        EXCEPTION=std::__cxx11::basic_string<char,
                       std::char_traits<char>, std::allocator<char> >
Change-Id: I4734aba8ea6fb02ad8ce54be55e860d2b4c6576c
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
To build this package, do the following steps:
1. ./bootstrap.sh
2. ./configure ${CONFIGURE_FLAGS}
3. make
To clean the repository run ./bootstrap.sh clean.