summaryrefslogtreecommitdiff
path: root/tools/build/feature/test-libunwind-x86_64.c
blob: 5add2517b2a18af9c3d8ef8e65c7af3dac386042 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include <libunwind-x86_64.h>
#include <stdlib.h>

extern int UNW_OBJ(dwarf_search_unwind_table) (unw_addr_space_t as,
					       unw_word_t ip,
					       unw_dyn_info_t *di,
					       unw_proc_info_t *pi,
					       int need_unwind_info, void *arg);


#define dwarf_search_unwind_table UNW_OBJ(dwarf_search_unwind_table)

static unw_accessors_t accessors;

int main(void)
{
	unw_addr_space_t addr_space;

	addr_space = unw_create_addr_space(&accessors, 0);
	if (addr_space)
		return 0;

	unw_init_remote(NULL, addr_space, NULL);
	dwarf_search_unwind_table(addr_space, 0, NULL, NULL, 0, NULL);

	return 0;
}
ef='/cgit.cgi/linux/net-next.git/commit/drivers/usb/host/ehci-sh.c?h=nds-private-remove&id=72df5eba704252e54b5b19395cb938f8bb55cab8'>72df5eba704252e54b5b19395cb938f8bb55cab8 (patch) tree9b9dd6aa0cd3b6cda738de32dd05075e6e66bab1 /drivers/usb/host/ehci-sh.c parent396bf4cd835e62d70fad4a03a8963e61f19021f2 (diff)parentf9f96fc10c09ca16e336854c08bc1563eed97985 (diff)
Merge tag 'media/v4.10-3' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
Pull media fixes from Mauro Carvalho Chehab: "A few documentation fixes at CEC (with got promoted from staging for 4.10), and one fix on its core." * tag 'media/v4.10-3' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: [media] cec: fix wrong last_la determination [media] cec-intro.rst: mention the v4l-utils package and CEC utilities [media] cec rst: remove "This API is not yet finalized" notice
Diffstat (limited to 'drivers/usb/host/ehci-sh.c')