mirror of
https://github.com/open-goal/jak-project
synced 2026-08-21 23:00:45 -04:00
[goalc] Address-to-line (#783)
* refactor debug info stuff before adding form to emit * source mapping working for non-macro sourced forms * support macros
This commit is contained in:
@@ -318,9 +318,9 @@ Disassembly Debugger::disassemble_at_rip(const InstructionPointerInfo& info) {
|
||||
info.map_entry->seg_id, info.map_entry->obj_name, obj_offset, info.function_offset);
|
||||
|
||||
result.text += disassemble_x86_function(
|
||||
function_mem.data(), function_mem.size(),
|
||||
function_mem.data(), function_mem.size(), m_reader,
|
||||
m_debug_context.base + info.map_entry->start_addr + func_info->offset_in_seg,
|
||||
rip + rip_offset, func_info->instructions, func_info->irs, &result.failed);
|
||||
rip + rip_offset, func_info->instructions, func_info->function.get(), &result.failed);
|
||||
}
|
||||
} else {
|
||||
result.failed = true;
|
||||
|
||||
Reference in New Issue
Block a user