fn encode_ty<'tcx>(enc: &mut PtrauthEncoder, tcx: TyCtxt<'tcx>, ty: Ty<'tcx>)Expand description
Encodes a ClangDiscTy into the discriminator byte stream.
This format is intended to be bit-for-bit compatible with Clang’s
encodeTypeForFunctionPointerAuth.