https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114839
--- Comment #3 from Ed Maste <emaste at freebsd dot org> ---
(In reply to Andrew Pinski from comment #2)
> Is it the case that unwinder from LLVM needs a .eh_frame_hdr for static
> binaries while GCC's libgcc one does not?
That's possible, but in the investigation in the FreeBSD bug report I believe
that GCC's libgcc is being used here:
#0 0x00000000004d4dca in thr_kill ()
#1 0x00000000004c226f in raise ()
#2 0x00000000004df6f9 in abort ()
#3 0x0000000000402bef in uw_init_context_1 (
context=context@entry=0x7fffdfffdd50,
outer_cfa=outer_cfa@entry=0x7fffdfffdf80,
outer_ra=0x4b2326 <thread_unwind+54>)
at ../../../gcc-13.2.0/libgcc/unwind-dw2.c:1336
#4 0x00000000004ad986 in _Unwind_ForcedUnwind (exc=0x800818940,
stop=0x4b24d0 <thread_unwind_stop>, stop_argument=0x0)
at ../../../gcc-13.2.0/libgcc/unwind.inc:212