|
@@ -185,7 +185,6 @@ extern int UNW_OBJ(dwarf_search_unwind_table) (unw_addr_space_t as,
|
|
|
unw_proc_info_t *pi,
|
|
|
int need_unwind_info, void *arg);
|
|
|
|
|
|
-
|
|
|
#define dwarf_search_unwind_table UNW_OBJ(dwarf_search_unwind_table)
|
|
|
|
|
|
int main(void)
|
|
@@ -197,6 +196,26 @@ int main(void)
|
|
|
return 0;
|
|
|
}
|
|
|
endef
|
|
|
+
|
|
|
+define SOURCE_LIBUNWIND_DEBUG_FRAME
|
|
|
+#include <libunwind.h>
|
|
|
+#include <stdlib.h>
|
|
|
+
|
|
|
+extern int
|
|
|
+UNW_OBJ(dwarf_find_debug_frame) (int found, unw_dyn_info_t *di_debug,
|
|
|
+ unw_word_t ip, unw_word_t segbase,
|
|
|
+ const char *obj_name, unw_word_t start,
|
|
|
+ unw_word_t end);
|
|
|
+
|
|
|
+#define dwarf_find_debug_frame UNW_OBJ(dwarf_find_debug_frame)
|
|
|
+
|
|
|
+int main(void)
|
|
|
+{
|
|
|
+ dwarf_find_debug_frame(0, NULL, 0, 0, NULL, 0, 0);
|
|
|
+ return 0;
|
|
|
+}
|
|
|
+endef
|
|
|
+
|
|
|
endif
|
|
|
|
|
|
ifndef NO_BACKTRACE
|