diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-01-13 16:46:34 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-05-07 08:19:53 +0200 |
commit | 16c6c05fbeeffe06d887b29eb52605cd4292bbdd (patch) | |
tree | 15ba376f5c6bb27ef104c38c4357ae17d4096899 /bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx | |
parent | tdf#112382 Rename Field command to Edit Fields in the context menu (diff) | |
download | core-16c6c05fbeeffe06d887b29eb52605cd4292bbdd.tar.gz core-16c6c05fbeeffe06d887b29eb52605cd4292bbdd.zip |
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>
Diffstat (limited to 'bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx')
-rw-r--r-- | bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx index 7c754a6c37b6..aa1020244d0b 100644 --- a/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx +++ b/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx @@ -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 ) { |