kernel/tools/build/feature/test-dwarf.c
2024-07-22 17:22:30 +08:00

12 lines
197 B
C

// SPDX-License-Identifier: GPL-2.0
#include <dwarf.h>
#include <elfutils/libdw.h>
#include <elfutils/version.h>
int main(void)
{
Dwarf *dbg = dwarf_begin(0, DWARF_C_READ);
return (long)dbg;
}