本文整理汇总了C++中DIBuilder::finalize方法的典型用法代码示例。如果您正苦于以下问题:C++ DIBuilder::finalize方法的具体用法?C++ DIBuilder::finalize怎么用?C++ DIBuilder::finalize使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类DIBuilder
的用法示例。
在下文中一共展示了DIBuilder::finalize方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1:
void
mono_llvm_di_builder_finalize (void *di_builder)
{
DIBuilder *builder = (DIBuilder*)di_builder;
builder->finalize ();
}
示例2:
Module *llvm_compile_state::pop_module()
{
Module *returnValue = _moduleStack.back();
_moduleStack.pop_back();
DIBuilder *debugBuilder = pop_debug_builder();
debugBuilder->finalize(); // NOTE: top level is not popped at all.
// language.kite handles finalization.
delete debugBuilder;
return returnValue;
}
示例3: DeleteDIBuilder
int
DisposeDebugBuilder(
ClientData clientData,
Tcl_Interp *interp,
int objc,
Tcl_Obj *const objv[])
{
if (objc != 2) {
Tcl_WrongNumArgs(interp, 1, objv, "DIBuilder");
return TCL_ERROR;
}
DIBuilder *builder;
if (GetDIBuilderFromObj(interp, objv[1], builder) != TCL_OK)
return TCL_ERROR;
builder->finalize();
DeleteDIBuilder(builder);
return TCL_OK;
}
示例4: finalize
void finalize() {
if(DI) {
DI->finalize();
delete DI;
}
}