Skip to content

Commit

Permalink
[mono][aot] Add a workaround for #97342. (#97347)
Browse files Browse the repository at this point in the history
  • Loading branch information
vargaz committed Jan 23, 2024
1 parent 4ecb857 commit e68bae1
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 e68bae1

Please sign in to comment.