Identical to createFunction, except that the resulting DbgNode is meant to be RAUWed.
Synopsis
Declared in <llvm/IR/DIBuilder.h>
DISubprogram*
createTempFunctionFwdDecl(
DIScope* Scope,
StringRef Name,
StringRef LinkageName,
DIFile* File,
unsigned int LineNo,
DISubroutineType* Ty,
unsigned int ScopeLine,
DINode::DIFlags Flags = DINode::FlagZero,
DISubprogram::DISPFlags SPFlags = DISubprogram::SPFlagZero,
DITemplateParameterArray TParams = nullptr,
DISubprogram* Decl = nullptr,
DITypeArray ThrownTypes = nullptr);
Return Value
The temporary subprogram forward declaration.
Parameters
Name |
Description |
Scope |
Function scope. |
Name |
Function name. |
LinkageName |
Mangled function name. |
File |
File where this variable is defined. |
LineNo |
Line number. |
Ty |
Function type. |
ScopeLine |
Set to the beginning of the scope this starts. |
Flags |
e.g. is this function prototyped or not. |
SPFlags |
Additional flags specific to subprograms. |
TParams |
Function template parameters. |
Decl |
Reference to the corresponding declaration. |
ThrownTypes |
Exception types this function may throw. |
Created with MrDocs