Create a private global holding the bytes of Str for runtime use.
Synopsis
Declared in <llvm/Transforms/Utils/Instrumentation.h>
GlobalVariable*
createPrivateGlobalForString(
Module& M,
StringRef Str,
bool AllowMerging,
Twine NamePrefix = "");
Return Value
Newly created private global variable for Str.
Parameters
Name |
Description |
M |
Module that will own the new global. |
Str |
String contents to place in the global. |
AllowMerging |
Whether identical string globals may be merged. |
NamePrefix |
Optional name prefix for the created global. |
Created with MrDocs