test-libdw-dwarf-unwind.c 309 B

1234567891011121314
  1. // SPDX-License-Identifier: GPL-2.0
  2. #include <elfutils/libdwfl.h>
  3. int main(void)
  4. {
  5. /*
  6. * This function is guarded via: __nonnull_attribute__ (1, 2).
  7. * Passing '1' as arguments value. This code is never executed,
  8. * only compiled.
  9. */
  10. dwfl_thread_getframes((void *) 1, (void *) 1, NULL);
  11. return 0;
  12. }