summaryrefslogtreecommitdiffstats
path: root/tools/perf/config/feature-checks/test-dwarf.c
blob: 783dfcd9a5c4062f7e39e7e84a5f949a381a3161 (plain)
1
2
3
4
5
6
7
8
9
#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;
}
OpenPOWER on IntegriCloud