test-libunwind-debug-frame.c 379 B

12345678910111213141516
  1. #include <libunwind.h>
  2. #include <stdlib.h>
  3. extern int
  4. UNW_OBJ(dwarf_find_debug_frame) (int found, unw_dyn_info_t *di_debug,
  5. unw_word_t ip, unw_word_t segbase,
  6. const char *obj_name, unw_word_t start,
  7. unw_word_t end);
  8. #define dwarf_find_debug_frame UNW_OBJ(dwarf_find_debug_frame)
  9. int main(void)
  10. {
  11. dwarf_find_debug_frame(0, NULL, 0, 0, NULL, 0, 0);
  12. return 0;
  13. }