Expand description
This module provides methods to retrieve allocation information, such as static variables.
Re-exportsΒ§
use std::io::Read;πuse serde::Serialize;πuse serde::Serialize;πuse crate::mir::mono::Instance;πuse crate::mir::mono::StaticDef;πuse crate::target::Endian;πuse crate::target::MachineInfo;πuse crate::ty::Allocation;πuse crate::ty::Binder;πuse crate::ty::ExistentialTraitRef;πuse crate::ty::Ty;πuse crate::ty::index_impl;πuse crate::Error;πuse crate::ThreadLocalIndex;πuse crate::ThreadLocalIndex;πuse crate::with;π
StructsΒ§
- AllocId
- A unique identification number for each provenance
EnumsΒ§
- Global
Alloc - An allocation in the rustc_publicβs IR global memory can be either a function pointer, a static, or a βrealβ allocation with some data in it.
FunctionsΒ§
- read_
target_ πint - Utility function used to read an allocation data into an assigned integer.
- read_
target_ πuint - Utility function used to read an allocation data into a unassigned integer.