summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2015-02-13 19:04:48 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2015-02-13 19:04:48 +0000
commitd5539c874c101a332fe8f05078688b6c38410c14 (patch)
treec90fdaecdaee19dc257dca17c2c8d253d5164f66 /include
parent905cde873560b797532074b5ebb509f42b0dec9b (diff)
unwind: always export unw_local_addr_space
It seems that the remote unwinder is entirely unused at this moment. unw_local_addr_space was referencing sThisAddressSpace which use to be a static in global namespace. It has since then become a member variable of LocalAddressSpace. Update this definition and always export it (needed to implement unw_get_proc_info_by_ip for ARM). git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@229133 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/libunwind.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libunwind.h b/include/libunwind.h
index b0f6979..e2396e4 100644
--- a/include/libunwind.h
+++ b/include/libunwind.h
@@ -107,12 +107,13 @@ extern int unw_is_signal_frame(unw_cursor_t *) LIBUNWIND_AVAIL;
extern int unw_get_proc_name(unw_cursor_t *, char *, size_t, unw_word_t *) LIBUNWIND_AVAIL;
//extern int unw_get_save_loc(unw_cursor_t*, int, unw_save_loc_t*);
+extern unw_addr_space_t unw_local_addr_space;
+
#ifdef UNW_REMOTE
/*
* Mac OS X "remote" API for unwinding other processes on same machine
*
*/
-extern unw_addr_space_t unw_local_addr_space;
extern unw_addr_space_t unw_create_addr_space_for_task(task_t);
extern void unw_destroy_addr_space(unw_addr_space_t);
extern int unw_init_remote_thread(unw_cursor_t *, unw_addr_space_t, thread_t *);