mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-12 23:13:15 +00:00
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…
Reference in New Issue
Block a user