From 6892eafd9704dfd84f8a5bdabfb53c51b993118e Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Wed, 23 Apr 2014 16:15:57 -0700 Subject: I now read the DWARF data in addition to the .conf files Previously if a .conf file for a library was available, the corresponding DWARF data would not be parsed. Now I use one to complement the other --- output.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/output.c b/output.c index f7d23ce..e3a5f2b 100644 --- a/output.c +++ b/output.c @@ -213,7 +213,9 @@ library_get_prototype(struct library *lib, const char *name) && snip_period(buf)); #if defined(HAVE_LIBDW) - if (lib->protolib == NULL && lib->dwfl != NULL && + // DWARF data fills in the gaps in the .conf files, so I don't check for + // lib->protolib==NULL here + if (lib->dwfl != NULL && (filter_matches_library(options.plt_filter, lib ) || filter_matches_library(options.static_filter, lib ) || filter_matches_library(options.export_filter, lib ))) -- cgit v1.2.3