]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - tools/build/feature/test-libdw-dwarf-unwind.c
Merge branch 'for-linus' of git://ftp.arm.linux.org.uk/~rmk/linux-arm
[mirror_ubuntu-zesty-kernel.git] / tools / build / feature / test-libdw-dwarf-unwind.c
1
2 #include <elfutils/libdwfl.h>
3
4 int main(void)
5 {
6 /*
7 * This function is guarded via: __nonnull_attribute__ (1, 2).
8 * Passing '1' as arguments value. This code is never executed,
9 * only compiled.
10 */
11 dwfl_thread_getframes((void *) 1, (void *) 1, NULL);
12 return 0;
13 }