Clarify output allocations.
This commit is contained in:
parent
b1475e5cd4
commit
fbb9dd260d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue