Debugging with GDB: Unregistering Code |
---|
Next: Custom Debug Info, Previous: Registering Code, Up: JIT Interface [Contents][Index]
If code is freed, then the JIT should use the following protocol:
relevant_entry
field of the descriptor at the code entry.
action_flag
to JIT_UNREGISTER
and call
__jit_debug_register_code
.
If the JIT frees or recompiles code without unregistering it, then GDB and the JIT will leak the memory used for the associated symbol files.