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.h | |
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.h')
-rw-r--r-- | library.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -23,6 +23,7 @@ #define _LIBRARY_H_ #include <stdint.h> +#include <stdbool.h> #if defined(HAVE_LIBDW) # include <elfutils/libdwfl.h> @@ -184,6 +185,7 @@ struct library { char own_soname : 1; char own_pathname : 1; + bool should_activate_latent : 1; struct arch_library_data arch; struct os_library_data os; |