summaryrefslogtreecommitdiff
path: root/library.h
diff options
context:
space:
mode:
authorDima Kogan <dima@secretsauce.net>2014-07-11 17:04:48 -0700
committerChanho Park <chanho61.park@samsung.com>2014-08-22 20:38:26 +0900
commitbaa0a5cfd341752d95634f0c4118895bcd8cfe09 (patch)
treefd05a4de2cb2790e8f1616c945bfaee7dff3aa11 /library.h
parent8bb22aff3b14947e69c070c82c4ad81e098183f3 (diff)
downloadltrace-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/library.h b/library.h
index 42a5a47..6f1dc0f 100644
--- a/library.h
+++ b/library.h
@@ -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;