secgateway/kernel/linux-4.14.83/tools/build/feature/test-dwarf.c

12 lines
197 B
C
Raw Normal View History

2019-06-11 07:43:23 +00:00
// 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;
}