]> git.proxmox.com Git - mirror_frr.git/commit - Makefile.am
lib: add libunwind support for backtraces
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 24 Aug 2017 14:09:48 +0000 (16:09 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 18 Oct 2018 00:51:51 +0000 (02:51 +0200)
commit68b8a15f87cfaf9aff1d483abb037005c237fb24
tree771365083373b2f0824c70665011b09f2bfa5508
parentb9ea4083854503850a18950206e7285f5266d5ea
lib: add libunwind support for backtraces

libunwind provides an alternate to backtrace() for printing out the call
stack of a particular location.  It doesn't use the frame pointer, it
goes by the DWARF debug info.  In most cases the traces have exactly the
same information, but there are some situations where libunwind traces
are better.

(On some platforms, the libc backtrace() also uses the DWARF debug info
[e.g.: ARM backtraces are impossible without it] but this is not the
case everywhere, especially not on BSD libexecinfo.)

Signed-off-by: David Lamparter <equinox@diac24.net>
Makefile.am
configure.ac
lib/log.c
lib/subdir.am
tests/lib/test_segv.c