Skip to main content

asm_const_ptr_clean

Function asm_const_ptr_clean 

Source
pub fn asm_const_ptr_clean<'tcx>(tcx: TyCtxt<'tcx>, scalar: Scalar) -> Scalar
Expand description

“Clean” a const pointer by removing values where the resulting ASM will not be <symbol> + <offset>.

These values are converted to ScalarInt.