Print symbol name in PrintOnPanic for define_function
This commit is contained in:
parent
a684753a68
commit
031bfa659f
@ -156,6 +156,7 @@ pub(crate) fn compile_fn(
|
||||
write!(clif, " {}", isa_flag).unwrap();
|
||||
}
|
||||
writeln!(clif, "\n").unwrap();
|
||||
writeln!(clif, "; symbol {}", codegened_func.symbol_name).unwrap();
|
||||
crate::PrintOnPanic(move || {
|
||||
let mut clif = clif.clone();
|
||||
::cranelift_codegen::write::decorate_function(
|
||||
|
Loading…
x
Reference in New Issue
Block a user