summaryrefslogtreecommitdiff
path: root/tools/build/feature/test-dwarf.c
blob: 3fc1801ce4a9760dce3a2db564747ace639e88aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#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;
}