Skip to content

Commit

Permalink
engine: platform: nswitch: export _Unwind_GetIPInfo as required by cs…
Browse files Browse the repository at this point in the history
…16-client
  • Loading branch information
a1batross committed Dec 29, 2024
1 parent 03eac90 commit 08c2632
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions engine/platform/nswitch/sys_nswitch.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ long pathconf( const char *path, int name ) { return -1; }

// part of libunwind; required by any dynamic lib that uses C++ exceptions
extern void *_Unwind_Resume;
extern void *_Unwind_GetIPInfo;

// these are macros in our libc, so we need to wrap them
static int tolower_fn( int c ) { return tolower( c ); }
Expand All @@ -55,6 +56,7 @@ static const solder_export_t aux_exports[] =
SOLDER_EXPORT_SYMBOL( strchrnul ),
SOLDER_EXPORT_SYMBOL( stpcpy ),
SOLDER_EXPORT_SYMBOL( _Unwind_Resume ),
SOLDER_EXPORT_SYMBOL( _Unwind_GetIPInfo ),
};

const solder_export_t *__solder_aux_exports = aux_exports;
Expand Down

0 comments on commit 08c2632

Please sign in to comment.