tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libunwind on arm

On Thu, Nov 28, 2019 at 01:26:20PM +0100, Manuel Bouyer wrote:
> Hello,
> it seems that we have our own implementation of libunwind in
> src/sys/lib/libunwind/
> Has it been tested on arm (earmv7hf if that matters) ?
> I'm trying to get stack trace working in gperftools; it works on
> x86_64 but not earmv7hf. Some comments in the commit log could suggest
> that there are missing bits for earm ?

There are two known issues with unwinding on NetBSD, neither is specific
to the unwind implementation:

(1) We don't provide CFI annotations for most of the assembler functions
in libc and other places. This is normally a lesser issue as those tend
to be leaf functions.
(2) We don't provide CFI annoations for the signal trampoline. This
means that unwinding through a signal will not work correctly.

Neither seems to be the problem here, so I can't say right now what the
problem is.


Home | Main Index | Thread Index | Old Index