With --enable-bfd-backtraces, use binutils libbfd to resolve backtraces
authorMartin Willi <martin@revosec.ch>
Wed, 11 Jul 2012 15:37:09 +0000 (17:37 +0200)
committerMartin Willi <martin@revosec.ch>
Fri, 13 Jul 2012 11:23:29 +0000 (13:23 +0200)
commit4c6c934635155c4b8822dc5dc64aa001c26b39be
treed36bcda5eba77bd7c57fceac68735a342bd16701
parentb46776aea159df93264ca7df02a2169a0e57e258
With --enable-bfd-backtraces, use binutils libbfd to resolve backtraces

The invocation of addr2line to resolve backtrace source locations
is slow and cumbersome. When using libbfd directly, we can eliminate
the overhead of the process invocation. Even better, we can cache
library symbol names, bringing wicked fast lookups. As a neat bonus,
we can resolve static function names.
configure.in
src/libstrongswan/Makefile.am
src/libstrongswan/library.c
src/libstrongswan/utils/backtrace.c
src/libstrongswan/utils/backtrace.h