linux/tools/build/feature/test-dwarf.c
<<
>>
Prefs
   1// SPDX-License-Identifier: GPL-2.0
   2#include <dwarf.h>
   3#include <elfutils/libdw.h>
   4#include <elfutils/version.h>
   5
   6int main(void)
   7{
   8        Dwarf *dbg = dwarf_begin(0, DWARF_C_READ);
   9
  10        return (long)dbg;
  11}
  12