kopia lustrzana https://github.com/espressif/esp-idf
cxx_exceptions: Add missing stubs for cxx exceptions with exceptions
disabled The misssing stubs get pulled in from the toolchain's libstdc++ also causing to pull in defined stubs. This results in redefinition of symbols. Fixing it by simply adding the missing stubs when exceptions are disabled. Signed-off-by: Amey Inamdar <amey.inamdar@gmail.com>pull/1286/merge
rodzic
46673bb6f1
commit
78ed138453
|
@ -74,10 +74,12 @@ void std::__throw_future_error(int) __attribute__((alias("__cxx_fatal_exception_
|
|||
*/
|
||||
|
||||
extern "C" void __cxa_allocate_exception(void) __attribute__((alias("__cxx_fatal_exception")));
|
||||
extern "C" void __cxa_allocate_dependent_exception(void) __attribute__((alias("__cxx_fatal_exception")));
|
||||
extern "C" void __cxa_begin_catch(void) __attribute__((alias("__cxx_fatal_exception")));
|
||||
extern "C" void __cxa_end_catch(void) __attribute__((alias("__cxx_fatal_exception")));
|
||||
extern "C" void __cxa_get_exception_ptr(void) __attribute__((alias("__cxx_fatal_exception")));
|
||||
extern "C" void __cxa_free_exception(void) __attribute__((alias("__cxx_fatal_exception")));
|
||||
extern "C" void __cxa_free_dependent_exception(void) __attribute__((alias("__cxx_fatal_exception")));
|
||||
extern "C" void __cxa_rethrow(void) __attribute__((alias("__cxx_fatal_exception")));
|
||||
extern "C" void __cxa_throw(void) __attribute__((alias("__cxx_fatal_exception")));
|
||||
extern "C" void __cxa_call_terminate(void) __attribute__((alias("__cxx_fatal_exception")));
|
||||
|
|
Ładowanie…
Reference in New Issue