~ubuntu-branches/debian/experimental/linux-tools/experimental

« back to all changes in this revision

Viewing changes to tools/perf/config/feature-checks/test-libunwind-debug-frame.c

  • Committer: Package Import Robot
  • Author(s): Ben Hutchings
  • Date: 2014-02-02 16:57:49 UTC
  • mfrom: (1.1.10) (0.1.21 sid)
  • Revision ID: package-import@ubuntu.com-20140202165749-tw94o9t1t0a8txk6
Tags: 3.13-1~exp2
Merge changes from sid up to 3.12.6-3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <libunwind.h>
 
2
#include <stdlib.h>
 
3
 
 
4
extern int
 
5
UNW_OBJ(dwarf_find_debug_frame) (int found, unw_dyn_info_t *di_debug,
 
6
                                 unw_word_t ip, unw_word_t segbase,
 
7
                                 const char *obj_name, unw_word_t start,
 
8
                                 unw_word_t end);
 
9
 
 
10
#define dwarf_find_debug_frame UNW_OBJ(dwarf_find_debug_frame)
 
11
 
 
12
int main(void)
 
13
{
 
14
        dwarf_find_debug_frame(0, NULL, 0, 0, NULL, 0, 0);
 
15
        return 0;
 
16
}