_libdwarf.h (d899be7d43d8df9cb485af5705e2724165a461c7) _libdwarf.h (d133198b4b7cd74205157bacef0eeb5c17508491)
1/*-
2 * Copyright (c) 2007 John Birrell (jb@freebsd.org)
3 * Copyright (c) 2009-2014 Kai Wang
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 35 unchanged lines hidden (view full) ---

44
45#include "_elftc.h"
46
47#define DWARF_DIE_HASH_SIZE 8191
48
49struct _libdwarf_globals {
50 Dwarf_Handler errhand;
51 Dwarf_Ptr errarg;
1/*-
2 * Copyright (c) 2007 John Birrell (jb@freebsd.org)
3 * Copyright (c) 2009-2014 Kai Wang
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 35 unchanged lines hidden (view full) ---

44
45#include "_elftc.h"
46
47#define DWARF_DIE_HASH_SIZE 8191
48
49struct _libdwarf_globals {
50 Dwarf_Handler errhand;
51 Dwarf_Ptr errarg;
52 int applyrela;
52 int applyreloc;
53};
54
55extern struct _libdwarf_globals _libdwarf;
56
57#define _DWARF_SET_ERROR(_d, _e, _err, _elf_err) \
58 _dwarf_set_error(_d, _e, _err, _elf_err, __func__, __LINE__)
59#define DWARF_SET_ERROR(_d, _e, _err) \
60 _DWARF_SET_ERROR(_d, _e, _err, 0)

--- 605 unchanged lines hidden ---
53};
54
55extern struct _libdwarf_globals _libdwarf;
56
57#define _DWARF_SET_ERROR(_d, _e, _err, _elf_err) \
58 _dwarf_set_error(_d, _e, _err, _elf_err, __func__, __LINE__)
59#define DWARF_SET_ERROR(_d, _e, _err) \
60 _DWARF_SET_ERROR(_d, _e, _err, 0)

--- 605 unchanged lines hidden ---