Skip to content

Commit bf06681

Browse files
committed
---
yaml --- r: 5482 b: refs/heads/master c: 82935c2 h: refs/heads/master v: v3
1 parent 1f1f67e commit bf06681

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 03f0932a6db65859292fb26280dbcb32db392a92
2+
refs/heads/master: 82935c2d17a8afd494699da5bea85b578c0d58c3

trunk/src/rt/rust_debug.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,11 @@ dump_origin(rust_task *task, void *ptr) {
7171
std::cerr << "Try again with RUST_TRACK_ORIGINS=1." << std::endl;
7272
} else if (task->debug.origins.find(ptr) == task->debug.origins.end()) {
7373
std::cerr << "Pointer " << std::hex << (uintptr_t)ptr <<
74-
" does not have a tracked origin.";
74+
" does not have a tracked origin." << std::endl;
7575
} else {
76-
std::cerr << "Origin of pointer " << std::hex << ":" << std::endl <<
77-
task->debug.origins[ptr];
76+
std::cerr << "Origin of pointer " << std::hex << (uintptr_t)ptr <<
77+
":" << std::endl << task->debug.origins[ptr] <<
78+
std::endl;
7879
}
7980
}
8081

0 commit comments

Comments
 (0)