Emit a call to the snprintf function.
Declared in <llvm/Transforms/Utils/BuildLibCalls.h>
Value*
emitSNPrintf(
Value* Dest,
Value* Size,
Value* Fmt,
ArrayRef<Value*> Args,
IRBuilderBase& B,
TargetLibraryInfo const* TLI);
The snprintf call, or null if unavailable.
| Name | Description |
|---|---|
| Dest | Destination buffer pointer. |
| Size | Size of the destination buffer. |
| Fmt | Format string pointer. |
| Args | Additional variadic format arguments. |
| B | IR builder used to create the call. |
| TLI | Target library info describing available libcalls. |