Merge tag 'block-5.11-2021-01-16' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / tools / build / feature / test-libdw-dwarf-unwind.c
blobed03d95056090c90bcea9d39751daf89eb3d9c18
1 // SPDX-License-Identifier: GPL-2.0
3 #include <elfutils/libdwfl.h>
5 int main(void)
7 /*
8 * This function is guarded via: __nonnull_attribute__ (1, 2).
9 * Passing '1' as arguments value. This code is never executed,
10 * only compiled.
12 dwfl_thread_getframes((void *) 1, (void *) 1, NULL);
13 return 0;