diff options
Diffstat (limited to 'tools/build/feature/test-dwarf_getcfi.c')
-rw-r--r-- | tools/build/feature/test-dwarf_getcfi.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/build/feature/test-dwarf_getcfi.c b/tools/build/feature/test-dwarf_getcfi.c new file mode 100644 index 0000000000..50e7d7cb7b --- /dev/null +++ b/tools/build/feature/test-dwarf_getcfi.c @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 +#include <stdio.h> +#include <elfutils/libdw.h> + +int main(void) +{ + Dwarf *dwarf = NULL; + return dwarf_getcfi(dwarf) == NULL; +} |