Skip to content

Commit

Permalink
[mono][aot] Add a workaround for dotnet#97342. (dotnet#97347)
Browse files Browse the repository at this point in the history
  • Loading branch information
vargaz authored and tmds committed Jan 23, 2024
1 parent 42d0597 commit 688e3cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mono/mono/mini/aot-compiler.c
Original file line number Diff line number Diff line change
Expand Up @@ -6688,6 +6688,9 @@ compute_line_numbers (MonoMethod *method, int code_size, MonoDebugMethodJitInfo
mono_debug_free_source_location (loc);
continue;
}
if (loc->row > 0xffffff)
// FIXME: Invalid debug info
continue;
prev_line = loc->row;
//printf ("D: %s:%d il=%x native=%x\n", loc->source_file, loc->row, il_offset, i);
if (first)
Expand Down

0 comments on commit 688e3cd

Please sign in to comment.