Skip to content

Commit

Permalink
xglobals,gthr_aux: Swap comments
Browse files Browse the repository at this point in the history
(cherry picked from commit c92d8de)
Signed-off-by: LIU Hao <[email protected]>
  • Loading branch information
lhmouse committed Aug 1, 2024
1 parent 5f2bebc commit a04fdbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion mcfgthread/gthr_aux.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ __asm__ (
" leave \n\t"
" jmp __MCF_once_release \n\t"
#else
/* Otherwise, SEH is table-based. */
/* Otherwise, SEH is table-based. `@unwind` without `@except` works only on
* x86-64 and not on ARM, so let's keep both for simplicity. */
".def do_call_once_seh_take_over; .scl 2; .type 32; .endef \n\t"
"do_call_once_seh_take_over: \n\t"
".seh_proc do_call_once_seh_take_over \n\t"
Expand Down
3 changes: 1 addition & 2 deletions mcfgthread/xglobals.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,7 @@ __MCF_invoke_cxa_dtor(__MCF_cxa_dtor_union __dtor, void* __arg)
(*(__dual_dtor_t*)(int) __dtor.__cdecl_ptr) (__eax, __edx, __arg, __arg);
}
#else
/* Otherwise, SEH is table-based. `@unwind` without `@except` works only on
* x86-64 and not on ARM, so let's keep both for simplicity. */
/* Otherwise, SEH is table-based. */
# define __MCF_SEH_DEFINE_TERMINATE_FILTER \
__asm__ (".seh_handler __MCF_seh_top, @except") /* no semicolon */

Expand Down

0 comments on commit a04fdbd

Please sign in to comment.