Print symbol name in PrintOnPanic for define_function
This commit is contained in:
parent
a684753a68
commit
031bfa659f
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue