OpenCloudOS-Kernel/tools/build/feature/test-dwarf.c

11 lines
161 B
C

#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;
}