Skip to content

Commit

Permalink
Update IR
Browse files Browse the repository at this point in the history
IR commit: eff4b4109aed08d4864bd5bd7228575d8fd01158
  • Loading branch information
dstogov committed Oct 7, 2024
1 parent 76e5d82 commit 64214d2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ext/opcache/jit/ir/ir_gdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -500,13 +500,14 @@ typedef struct _ir_gdbjit_descriptor {
struct _ir_gdbjit_code_entry *first_entry;
} ir_gdbjit_descriptor;

#ifdef IR_EXTERNAL_GDB_ENTRY
extern ir_gdbjit_descriptor __jit_debug_descriptor;
void __jit_debug_register_code(void);
#else
ir_gdbjit_descriptor __jit_debug_descriptor = {
1, IR_GDBJIT_NOACTION, NULL, NULL
};

#ifdef IR_EXTERNAL_GDB_ENTRY
void __jit_debug_register_code(void);
#else
IR_NEVER_INLINE void __jit_debug_register_code(void)
{
__asm__ __volatile__("");
Expand Down

0 comments on commit 64214d2

Please sign in to comment.