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