From fbb9dd260d5bef6d35e5fb5ab927851fbcfdd3c9 Mon Sep 17 00:00:00 2001 From: Scott Olson Date: Mon, 14 Mar 2016 22:08:38 -0600 Subject: [PATCH] Clarify output allocations. --- src/interpreter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interpreter.rs b/src/interpreter.rs index 5e45e717dfeb..2d81b1b265fd 100644 --- a/src/interpreter.rs +++ b/src/interpreter.rs @@ -532,7 +532,7 @@ pub fn interpret_start_points<'tcx>(tcx: &TyCtxt<'tcx>, mir_map: &MirMap<'tcx>) /// Print the given allocation and all allocations it depends on. fn print_allocation_tree(memory: &Memory, alloc_id: memory::AllocId) { let alloc = memory.get(alloc_id).unwrap(); - println!(" {:?}", alloc); + println!(" {:?}: {:?}", alloc_id, alloc); for &target_alloc in alloc.relocations.values() { print_allocation_tree(memory, target_alloc); }