From: Igor Oblakov Date: Tue, 6 Mar 2018 11:46:13 +0000 (+0300) Subject: Temporary fix for i686 libprofiler X-Git-Tag: submit/tizen/20180620.112952^2^2~71 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f2d8ba367ec95fb057484bde7c378a070fce3ac7;p=sdk%2Ftools%2Fheaptrack.git Temporary fix for i686 libprofiler --- diff --git a/profiler/profiler/src/profiler.cpp b/profiler/profiler/src/profiler.cpp index ca8e03d..379a042 100644 --- a/profiler/profiler/src/profiler.cpp +++ b/profiler/profiler/src/profiler.cpp @@ -284,7 +284,7 @@ void encodeWChar(WCHAR *orig, char *encoded) { encoded[i] = 0; } -void OnFunctionEnter(FunctionIDOrClientID functionID, +void __stdcall OnFunctionEnter(FunctionIDOrClientID functionID, COR_PRF_ELT_INFO eltInfo) { ICorProfilerInfo3 *info; HRESULT hr = g_pICorProfilerInfoUnknown->QueryInterface(IID_ICorProfilerInfo3, @@ -313,7 +313,7 @@ void OnFunctionEnter(FunctionIDOrClientID functionID, info->Release(); } -void OnFunctionLeave(FunctionIDOrClientID functionID, +void __stdcall OnFunctionLeave(FunctionIDOrClientID functionID, COR_PRF_ELT_INFO eltInfo) { PopShadowStack(); }