xref: /openbmc/linux/tools/build/feature/test-dwarf.c (revision aac28965)
1 // SPDX-License-Identifier: GPL-2.0
2 #include <dwarf.h>
3 #include <elfutils/libdw.h>
4 #include <elfutils/version.h>
5 
6 int main(void)
7 {
8 	Dwarf *dbg = dwarf_begin(0, DWARF_C_READ);
9 
10 	return (long)dbg;
11 }
12