llvm::emitStrCpy

Emit a call to strcpy for the specified pointer arguments.

Synopsis

Declared in <llvm/Transforms/Utils/BuildLibCalls.h>

Value*
emitStrCpy(
    Value* Dst,
    Value* Src,
    IRBuilderBase& B,
    TargetLibraryInfo const* TLI);

Return Value

The strcpy call, or null if unavailable.

Parameters

NameDescription
DstDestination buffer pointer.
SrcSource C string pointer.
BIR builder used to create the call.
TLITarget library info describing available libcalls.