Next: Unregistering Code, Previous: JIT Declarations, Up: JIT Compilation Interface [Contents][Index]
To register code with ROCGDB, the JIT should follow this protocol:
action_flag
to JIT_REGISTER
and call
__jit_debug_register_code
.
When ROCGDB is attached and the breakpoint fires, ROCGDB uses the
relevant_entry
pointer so it doesn’t have to walk the list looking for
new code. However, the linked list must still be maintained in order to allow
ROCGDB to attach to a running process and still find the symbol files.