diff options
author | Dima Kogan <dima@secretsauce.net> | 2014-07-11 17:04:48 -0700 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-08-22 20:38:26 +0900 |
commit | baa0a5cfd341752d95634f0c4118895bcd8cfe09 (patch) | |
tree | fd05a4de2cb2790e8f1616c945bfaee7dff3aa11 /library.c | |
parent | 8bb22aff3b14947e69c070c82c4ad81e098183f3 (diff) | |
download | ltrace-baa0a5cfd341752d95634f0c4118895bcd8cfe09.tar.gz ltrace-baa0a5cfd341752d95634f0c4118895bcd8cfe09.tar.bz2 ltrace-baa0a5cfd341752d95634f0c4118895bcd8cfe09.zip |
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
Diffstat (limited to 'library.c')
-rw-r--r-- | library.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) |