rdi_from_pdb: when relative paths are supplied by line info, build them as being relative to OBJ; this is not necessarily correct but it is the best thing we can do given the available information. the user needs to remap this once in the debugger, but then it will work.

This commit is contained in:
Ryan Fleury
2025-05-13 16:23:31 -07:00
parent 258b45a837
commit 5532aa6903
2 changed files with 32 additions and 5 deletions
+1 -1
View File
@@ -14557,7 +14557,7 @@ rd_frame(void)
U64 vaddr = 0;
B32 require_disasm_snap = 0;
{
file_path = rd_regs()->file_path;
file_path = rd_mapped_from_file_path(scratch.arena, rd_regs()->file_path);
point = rd_regs()->cursor;
thread = ctrl_entity_from_handle(d_state->ctrl_entity_store, rd_regs()->thread);
process = ctrl_entity_from_handle(d_state->ctrl_entity_store, rd_regs()->process);