Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
He Kuang | f9be7ee | 2016-05-10 07:40:32 +0000 | [diff] [blame] | 2 | #include <libunwind-aarch64.h> |
| 3 | #include <stdlib.h> |
| 4 | |
| 5 | extern int |
| 6 | UNW_OBJ(dwarf_find_debug_frame) (int found, unw_dyn_info_t *di_debug, |
| 7 | unw_word_t ip, unw_word_t segbase, |
| 8 | const char *obj_name, unw_word_t start, |
| 9 | unw_word_t end); |
| 10 | |
| 11 | #define dwarf_find_debug_frame UNW_OBJ(dwarf_find_debug_frame) |
| 12 | |
| 13 | int main(void) |
| 14 | { |
| 15 | dwarf_find_debug_frame(0, NULL, 0, 0, NULL, 0, 0); |
| 16 | return 0; |
| 17 | } |