xref: /linux/tools/build/feature/test-dwarf_getcfi.c (revision 2e21dee6a46a66e4c2ced778485e1044101edee4)
1 // SPDX-License-Identifier: GPL-2.0
2 #include <stdio.h>
3 #include <elfutils/libdw.h>
4 
5 int main(void)
6 {
7 	Dwarf *dwarf = NULL;
8 	return dwarf_getcfi(dwarf) == NULL;
9 }
10