Re: Status of /usr/include/libunwind.h
- In reply to: Dimitry Andric : "Re: Status of /usr/include/libunwind.h"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 18 Jun 2025 11:52:08 UTC
On Wed, Jun 18, 2025 at 2:00 PM Dimitry Andric <dim@freebsd.org> wrote: > > However, the actual unwinding functions are in libgcc_s.so.1: > > $ nm -D -U /lib/libgcc_s.so.1 | grep Unwind > 0000000000017400 T _Unwind_Backtrace@@GCC_3.3 These are not functions I was talking about. I was talking about the unw_* family of functions, see "man unw_getcontext", for example. These functions are declared in libunwind.h, not unwind.h. This header seems to be a drop-in replacement for /usr/local/include/libunwind.h, which comes from devel/libunwind, but unlike the port the base header does not have an accompanying shared library.