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

Name

Description

Dst

Destination buffer pointer.

Src

Source C string pointer.

B

IR builder used to create the call.

TLI

Target library info describing available libcalls.

Created with MrDocs