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