Skip to content

Commit 283f203

Browse files
Copilotjkotas
andauthored
Fix getPgoInstrumentationResults stub missing *ppSchema=NULL init and pgo.h parameter name typo
Agent-Logs-Url: https://github.com/dotnet/runtime/sessions/51af0fd3-5ce0-4f5f-bf48-eaa6f46fac97 Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
1 parent d69736b commit 283f203

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/coreclr/vm/pgo.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1252,6 +1252,7 @@ HRESULT PgoManager::getPgoInstrumentationResultsFromR2RFormat(ReadyToRunInfo *pR
12521252
HRESULT PgoManager::getPgoInstrumentationResults(MethodDesc* pMD, BYTE **pAllocatedData, ICorJitInfo::PgoInstrumentationSchema** ppSchema, UINT32 *pCountSchemaItems, BYTE**pInstrumentationData, ICorJitInfo::PgoSource* pPgoSource)
12531253
{
12541254
*pAllocatedData = NULL;
1255+
*ppSchema = NULL;
12551256
*pCountSchemaItems = 0;
12561257
*pInstrumentationData = NULL;
12571258
return E_NOTIMPL;

src/coreclr/vm/pgo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class PgoManager
2323

2424
public:
2525

26-
static HRESULT getPgoInstrumentationResults(MethodDesc* pMD, BYTE **pAllocatedDatapAllocatedData, ICorJitInfo::PgoInstrumentationSchema** ppSchema, UINT32 *pCountSchemaItems, BYTE**pInstrumentationData, ICorJitInfo::PgoSource* pPgoSource);
26+
static HRESULT getPgoInstrumentationResults(MethodDesc* pMD, BYTE **pAllocatedData, ICorJitInfo::PgoInstrumentationSchema** ppSchema, UINT32 *pCountSchemaItems, BYTE**pInstrumentationData, ICorJitInfo::PgoSource* pPgoSource);
2727
static HRESULT allocPgoInstrumentationBySchema(MethodDesc* pMD, ICorJitInfo::PgoInstrumentationSchema* pSchema, UINT32 countSchemaItems, BYTE** pInstrumentationData);
2828
static HRESULT getPgoInstrumentationResultsFromR2RFormat(ReadyToRunInfo *pReadyToRunInfo,
2929
Module* pModule,

0 commit comments

Comments
 (0)