Skip to main content

emit_va_arg

Function emit_va_arg 

Source
pub(crate) fn emit_va_arg<'ll, 'tcx>(
    bx: &mut GenericBuilder<'_, 'll, FullCx<'ll, 'tcx>>,
    addr: OperandRef<'tcx, &'ll Value>,
    target_ty: Ty<'tcx>,
) -> &'ll Value
Expand description

Determine the va_arg implementation to use. The LLVM va_arg instruction is lacking in some instances, so we should only use it as a fallback.