Emit a call to wcslen for the specified pointer.
Synopsis
Declared in <llvm/Transforms/Utils/BuildLibCalls.h>
Value*
emitWcsLen(
Value* Ptr,
IRBuilderBase& B,
DataLayout const& DL,
TargetLibraryInfo const* TLI);
Description
Ptr is required to be some pointer type, and the return value has 'size_t' type.
Return Value
The wcslen call, or null if unavailable.
Parameters
Name |
Description |
Ptr |
Pointer to the wide string whose length is computed. |
B |
IR builder used to create the call. |
DL |
Data layout used for size_t typing. |
TLI |
Target library info describing available libcalls. |
Created with MrDocs