xref: /kernel/linux/linux-6.6/tools/build/feature/test-dwarf.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 <dwarf.h>
362306a36Sopenharmony_ci#include <elfutils/libdw.h>
462306a36Sopenharmony_ci#include <elfutils/version.h>
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciint main(void)
762306a36Sopenharmony_ci{
862306a36Sopenharmony_ci	Dwarf *dbg = dwarf_begin(0, DWARF_C_READ);
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci	return (long)dbg;
1162306a36Sopenharmony_ci}
12

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