1 /* Copyright (C) 2009-2024 Free Software Foundation, Inc.
3 This file is part of GDB.
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. */
19 #error "We don't include jit.h directly since we'd like the jit-reader unit \
20 tests to break if we make ABI incompatible changes to the structures \
24 #ifndef JIT_PROTOCOL_H
25 #define JIT_PROTOCOL_H
29 #ifndef JIT_DESCRIPTOR_LINKAGE
30 #define JIT_DESCRIPTOR_LINKAGE
43 struct jit_code_entry
*next_entry
;
44 struct jit_code_entry
*prev_entry
;
45 const void *symfile_addr
;
46 uint64_t symfile_size
;
54 struct jit_code_entry
*relevant_entry
;
55 struct jit_code_entry
*first_entry
;
58 JIT_DESCRIPTOR_LINKAGE
struct jit_descriptor __jit_debug_descriptor
61 void __attribute__((noinline
)) __jit_debug_register_code()
65 #endif /* JIT_PROTOCOL_H */