fmt
This commit is contained in:
parent
340267525c
commit
447f23c71b
@ -518,9 +518,7 @@ pub fn new_allocation(
|
|||||||
) => (extra.global_base_ptr(id), Permission::SharedReadWrite),
|
) => (extra.global_base_ptr(id), Permission::SharedReadWrite),
|
||||||
// Heap allocations we only track precisely when raw pointers are tagged, for now.
|
// Heap allocations we only track precisely when raw pointers are tagged, for now.
|
||||||
MemoryKind::Machine(
|
MemoryKind::Machine(
|
||||||
MiriMemoryKind::Rust
|
MiriMemoryKind::Rust | MiriMemoryKind::C | MiriMemoryKind::WinHeap,
|
||||||
| MiriMemoryKind::C
|
|
||||||
| MiriMemoryKind::WinHeap,
|
|
||||||
) => {
|
) => {
|
||||||
let tag =
|
let tag =
|
||||||
if extra.track_raw { Tag::Tagged(extra.new_ptr()) } else { Tag::Untagged };
|
if extra.track_raw { Tag::Tagged(extra.new_ptr()) } else { Tag::Untagged };
|
||||||
|
Loading…
Reference in New Issue
Block a user