Skip to content

Commit

Permalink
Fix _Unwind_Exception_Class build break on Due
Browse files Browse the repository at this point in the history
Noted in Issue#12
  • Loading branch information
maniacbug committed Jul 5, 2023
1 parent 9d8277e commit 41b4465
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions unwind-cxx.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ extern std::unexpected_handler __unexpected_handler;

// This is the exception class we report -- "GNUCC++\0".
const _Unwind_Exception_Class __gxx_exception_class
#ifndef __ARM_EABI_UNWINDER__
= ((((((((_Unwind_Exception_Class) 'G'
<< 8 | (_Unwind_Exception_Class) 'N')
<< 8 | (_Unwind_Exception_Class) 'U')
Expand All @@ -181,6 +182,9 @@ const _Unwind_Exception_Class __gxx_exception_class
<< 8 | (_Unwind_Exception_Class) '+')
<< 8 | (_Unwind_Exception_Class) '+')
<< 8 | (_Unwind_Exception_Class) '\0');
#else
= "GNUCC++";
#endif

// GNU C++ personality routine, Version 0.
extern "C" _Unwind_Reason_Code __gxx_personality_v0
Expand Down

0 comments on commit 41b4465

Please sign in to comment.