diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-02-13 19:04:48 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-02-13 19:04:48 +0000 |
| commit | 9dd5ca1fe87a9e915b86f3d331d20ff6197b321d (patch) | |
| tree | 272bbdc17f03cec516df98b80b1e4f34019b6574 /libcxxabi/include | |
| parent | b4a110f051b623f20808c57aa7b07400768c51b3 (diff) | |
| download | bcm5719-llvm-9dd5ca1fe87a9e915b86f3d331d20ff6197b321d.tar.gz bcm5719-llvm-9dd5ca1fe87a9e915b86f3d331d20ff6197b321d.zip | |
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).
llvm-svn: 229133
Diffstat (limited to 'libcxxabi/include')
| -rw-r--r-- | libcxxabi/include/libunwind.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libcxxabi/include/libunwind.h b/libcxxabi/include/libunwind.h index b0f6979af3f..e2396e4ab7c 100644 --- a/libcxxabi/include/libunwind.h +++ b/libcxxabi/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 *); |

