From baa0a5cfd341752d95634f0c4118895bcd8cfe09 Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Fri, 11 Jul 2014 17:04:48 -0700 Subject: I now always build the export list Previously I only built the export list when tracing with -l. Since I was using this export list to resolve aliased symbols in addition to setting breakpoints, this aliased symbol resolution was only working with -l. I now always build the export list to make aliased symbol resolution always work. I now have a separate variable to control whether we should activate latent symbols or not; previously the existence of the export list was used to make this determination. Furthermore populate_this_symtab() now takes an extra argument to indicate that ONLY the export list should be filled in --- library.c | 1 + 1 file changed, 1 insertion(+) (limited to 'library.c') diff --git a/library.c b/library.c index dfcd1dc..bb0e4cc 100644 --- a/library.c +++ b/library.c @@ -297,6 +297,7 @@ private_library_init(struct library *lib, enum library_type type) lib->symbols = NULL; library_exported_names_init(&lib->exported_names); + lib->should_activate_latent = false; lib->type = type; #if defined(HAVE_LIBDW) -- cgit v1.2.3