We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1852bb8 commit 63a51a6Copy full SHA for 63a51a6
src/tools/miri/src/machine.rs
@@ -140,7 +140,9 @@ impl MiriMemoryKind {
140
fn should_save_allocation_span(self) -> bool {
141
use self::MiriMemoryKind::*;
142
match self {
143
+ // Heap allocations are fine since the `Allocation` is created immediately.
144
Rust | Miri | C | Mmap => true,
145
+ // Everything else is unclear, let's not show potentially confusing spans.
146
Machine | Global | ExternStatic | Tls | WinHeap | Runtime => false,
147
}
148
0 commit comments