MCPcopy Create free account
hub / github.com/beefytech/Beef / DbgCreateFunction

Method DbgCreateFunction

IDEHelper/Compiler/BfIRBuilder.cpp:6144–6155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6142}
6143
6144BfIRMDNode BfIRBuilder::DbgCreateFunction(BfIRMDNode context, const StringImpl& name, const StringImpl& linkageName, BfIRMDNode file, int lineNum, BfIRMDNode type, bool isLocalToUnit, bool isDefinition, int scopeLine, int flags, bool isOptimized, BfIRValue fn)
6145{
6146 BfIRMDNode retVal = WriteCmd(BfIRCmd_DbgCreateFunction, context, name, linkageName, file, lineNum, type, isLocalToUnit, isDefinition, scopeLine, flags, isOptimized, fn);
6147 NEW_CMD_INSERTED_IRMD;
6148
6149// if (mDbgVerifyCodeGen && gDebugDbgLoc)
6150// {
6151// OutputDebugStrF("DbgCreateFunction Context:%d name:%s = %d\n", context.mId, name.c_str(), retVal.mId);
6152// }
6153
6154 return retVal;
6155}
6156
6157BfIRMDNode BfIRBuilder::DbgCreateParameterVariable(BfIRMDNode scope, const StringImpl& name, int argNo, BfIRMDNode file, int lineNum, BfIRMDNode type, bool alwaysPreserve, int flags)
6158{

Callers 3

EmitCtorBodyMethod · 0.80
DbgFinishMethod · 0.80
InjectMixinMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected