summaryrefslogtreecommitdiff
path: root/src/mi
diff options
context:
space:
mode:
authorDave Watson <davejwatson@fb.com>2017-12-28 09:38:33 -0800
committerDave Watson <davejwatson@fb.com>2017-12-28 09:42:16 -0800
commit4c07b170372feb174e11775a01ea3bd718d636d6 (patch)
tree5009f555bf20119c1899442346c899be8c7407ca /src/mi
parentb56e4cb88989f82988a6a70acb32e187e88b5cac (diff)
downloadlibunwind-4c07b170372feb174e11775a01ea3bd718d636d6.tar.gz
ALIAS unwind_get_accessors
Diffstat (limited to 'src/mi')
-rw-r--r--src/mi/Gdyn-remote.c4
-rw-r--r--src/mi/Gget_accessors.c3
-rw-r--r--src/mi/Gget_proc_info_by_ip.c2
-rw-r--r--src/mi/Gget_proc_name.c2
4 files changed, 7 insertions, 4 deletions
diff --git a/src/mi/Gdyn-remote.c b/src/mi/Gdyn-remote.c
index 1f029b4d..40a5ad8b 100644
--- a/src/mi/Gdyn-remote.c
+++ b/src/mi/Gdyn-remote.c
@@ -205,7 +205,7 @@ unwi_dyn_remote_find_proc_info (unw_addr_space_t as, unw_word_t ip,
unw_proc_info_t *pi,
int need_unwind_info, void *arg)
{
- unw_accessors_t *a = unw_get_accessors (as);
+ unw_accessors_t *a = unw_get_accessors_int (as);
unw_word_t dyn_list_addr, addr, next_addr, gen1, gen2, start_ip, end_ip;
unw_dyn_info_t *di = NULL;
int ret;
@@ -311,7 +311,7 @@ unwi_dyn_validate_cache (unw_addr_space_t as, void *arg)
in the cache. */
return 0;
- a = unw_get_accessors (as);
+ a = unw_get_accessors_int (as);
addr = as->dyn_info_list_addr;
if (fetchw (as, a, &addr, &gen, arg) < 0)
diff --git a/src/mi/Gget_accessors.c b/src/mi/Gget_accessors.c
index 2d520782..31a6fbaf 100644
--- a/src/mi/Gget_accessors.c
+++ b/src/mi/Gget_accessors.c
@@ -25,6 +25,9 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "libunwind_i.h"
+HIDDEN ALIAS(unw_get_accessors) unw_accessors_t *
+unw_get_accessors_int (unw_addr_space_t as);
+
unw_accessors_t *
unw_get_accessors (unw_addr_space_t as)
{
diff --git a/src/mi/Gget_proc_info_by_ip.c b/src/mi/Gget_proc_info_by_ip.c
index ae85fe91..2697ff84 100644
--- a/src/mi/Gget_proc_info_by_ip.c
+++ b/src/mi/Gget_proc_info_by_ip.c
@@ -29,7 +29,7 @@ int
unw_get_proc_info_by_ip (unw_addr_space_t as, unw_word_t ip,
unw_proc_info_t *pi, void *as_arg)
{
- unw_accessors_t *a = unw_get_accessors (as);
+ unw_accessors_t *a = unw_get_accessors_int (as);
int ret;
ret = unwi_find_dynamic_proc_info (as, ip, pi, 0, as_arg);
diff --git a/src/mi/Gget_proc_name.c b/src/mi/Gget_proc_name.c
index 36e34e2e..840d9007 100644
--- a/src/mi/Gget_proc_name.c
+++ b/src/mi/Gget_proc_name.c
@@ -49,7 +49,7 @@ static inline int
get_proc_name (unw_addr_space_t as, unw_word_t ip,
char *buf, size_t buf_len, unw_word_t *offp, void *arg)
{
- unw_accessors_t *a = unw_get_accessors (as);
+ unw_accessors_t *a = unw_get_accessors_int (as);
unw_proc_info_t pi;
int ret;