bridges (win32/64): Log method calls
Change-Id: I5177dd4fbc8f1b638ceff14c5d88d19fff8076a3 Reviewed-on: https://gerrit.libreoffice.org/53779 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
This commit is contained in:
@@ -241,6 +241,13 @@ static typelib_TypeClass __cdecl cpp_mediate(
|
||||
pThis);
|
||||
|
||||
typelib_InterfaceTypeDescription * pTypeDescr = pCppI->getTypeDescr();
|
||||
|
||||
SAL_INFO( "bridges.win32", "cpp_vtable_call: pCallStack=[" <<
|
||||
std::hex << pCallStack[0] << "," << pCallStack[1] << "," << pCallStack[2] << ",...]" <<
|
||||
", pThis=" << pThis << ", pCppI=" << pCppI <<
|
||||
std::dec << ", nFunctionIndex=" << nFunctionIndex << ", nVtableOffset=" << nVtableOffset );
|
||||
SAL_INFO( "bridges.win32", "name=" << OUString::unacquired(&pTypeDescr->aBase.pTypeName) );
|
||||
|
||||
if (nFunctionIndex >= pTypeDescr->nMapFunctionIndexToMemberIndex)
|
||||
{
|
||||
SAL_WARN(
|
||||
@@ -261,6 +268,8 @@ static typelib_TypeClass __cdecl cpp_mediate(
|
||||
|
||||
TypeDescription aMemberDescr( pTypeDescr->ppAllMembers[nMemberPos] );
|
||||
|
||||
SAL_INFO( "bridges.win32", "Calling " << OUString::unacquired(&aMemberDescr.get()->pTypeName) );
|
||||
|
||||
typelib_TypeClass eRet = typelib_TypeClass_VOID;
|
||||
switch (aMemberDescr.get()->eTypeClass)
|
||||
{
|
||||
|
||||
@@ -240,6 +240,12 @@ extern "C" typelib_TypeClass cpp_vtable_call(
|
||||
|
||||
typelib_InterfaceTypeDescription * pTD = pCppI->getTypeDescr();
|
||||
|
||||
SAL_INFO( "bridges.win64", "cpp_vtable_call: pCallStack=[" <<
|
||||
std::hex << pStack[0] << "," << pStack[1] << "," << pStack[2] << ",...]" <<
|
||||
", pThis=" << pThis << ", pCppI=" << pCppI <<
|
||||
std::dec << ", nFunctionIndex=" << nFunctionIndex << ", nVtableOffset=" << nVtableOffset );
|
||||
SAL_INFO( "bridges.win64", "name=" << OUString::unacquired(&pTD->aBase.pTypeName) );
|
||||
|
||||
if ( nFunctionIndex >= pTD->nMapFunctionIndexToMemberIndex )
|
||||
{
|
||||
SAL_WARN(
|
||||
@@ -260,6 +266,8 @@ extern "C" typelib_TypeClass cpp_vtable_call(
|
||||
|
||||
TypeDescription aMemberDescr( pTD->ppAllMembers[nMemberPos] );
|
||||
|
||||
SAL_INFO( "bridges.win64", "Calling " << OUString::unacquired(&aMemberDescr.get()->pTypeName) );
|
||||
|
||||
typelib_TypeClass eRet;
|
||||
switch ( aMemberDescr.get()->eTypeClass )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user