xref: /kernel/linux/linux-6.6/tools/build/feature/test-libunwind-debug-frame-aarch64.c
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/tools/build/feature/
162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci#include <libunwind-aarch64.h>
362306a36Sopenharmony_ci#include <stdlib.h>
462306a36Sopenharmony_ci
562306a36Sopenharmony_ciextern int
662306a36Sopenharmony_ciUNW_OBJ(dwarf_find_debug_frame) (int found, unw_dyn_info_t *di_debug,
762306a36Sopenharmony_ci				 unw_word_t ip, unw_word_t segbase,
862306a36Sopenharmony_ci				 const char *obj_name, unw_word_t start,
962306a36Sopenharmony_ci				 unw_word_t end);
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci#define dwarf_find_debug_frame UNW_OBJ(dwarf_find_debug_frame)
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ciint main(void)
1462306a36Sopenharmony_ci{
1562306a36Sopenharmony_ci	dwarf_find_debug_frame(0, NULL, 0, 0, NULL, 0, 0);
1662306a36Sopenharmony_ci	return 0;
1762306a36Sopenharmony_ci}
18

Indexes created Thu Nov 07 10:32:03 CST 2024