Update to Cranelift 0.87.0

This commit is contained in:
bjorn3 2022-08-22 18:53:10 +00:00
parent 7dc8f38956
commit b14c7337db
7 changed files with 42 additions and 48 deletions

View file

@ -161,7 +161,7 @@ impl FunctionDebugContext {
let mut func_end = 0;
let mcr = context.mach_compile_result.as_ref().unwrap();
let mcr = context.compiled_code().unwrap();
for &MachSrcLoc { start, end, loc } in mcr.buffer.get_srclocs_sorted() {
debug_context.dwarf.unit.line_program.row().address_offset = u64::from(start);
if !loc.is_default() {