From b7b8a3480151adc966708cb06cf1fe488cbccf45 Mon Sep 17 00:00:00 2001 From: Evgeny Pavlov Date: Mon, 12 Dec 2016 13:55:15 +0300 Subject: [PATCH] [x86/Linux][SOS] Add CALLBACK (aka stdcall) to function declarations (dotnet/coreclr#8476) Commit migrated from https://github.com/dotnet/coreclr/commit/a3b17672b9bbcaea91f1da73b9ed318a1ff7e451 --- src/coreclr/src/ToolBox/SOS/Strike/sos_stacktrace.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/coreclr/src/ToolBox/SOS/Strike/sos_stacktrace.h b/src/coreclr/src/ToolBox/SOS/Strike/sos_stacktrace.h index 4aba4ea..0af241c 100644 --- a/src/coreclr/src/ToolBox/SOS/Strike/sos_stacktrace.h +++ b/src/coreclr/src/ToolBox/SOS/Strike/sos_stacktrace.h @@ -119,7 +119,7 @@ HRESULT CALLBACK _EFN_StackTrace( // cbString - number of characters available in the string buffer. // // The output will be truncated of cbString is not long enough for the full stack trace. -HRESULT _EFN_GetManagedExcepStack( +HRESULT CALLBACK _EFN_GetManagedExcepStack( PDEBUG_CLIENT client, ULONG64 StackObjAddr, __out_ecount(cbString) PSTR szStackString, @@ -128,7 +128,7 @@ HRESULT _EFN_GetManagedExcepStack( // _EFN_GetManagedExcepStackW - same as _EFN_GetManagedExcepStack, but returns // the stack as a wide string. -HRESULT _EFN_GetManagedExcepStackW( +HRESULT CALLBACK _EFN_GetManagedExcepStackW( PDEBUG_CLIENT client, ULONG64 StackObjAddr, __out_ecount(cchString) PWSTR wszStackString, @@ -141,7 +141,7 @@ HRESULT _EFN_GetManagedExcepStackW( // szName - a buffer to be filled with the full type name // cbName - the number of characters available in the buffer // -HRESULT _EFN_GetManagedObjectName( +HRESULT CALLBACK _EFN_GetManagedObjectName( PDEBUG_CLIENT client, ULONG64 objAddr, __out_ecount(cbName) PSTR szName, @@ -158,7 +158,7 @@ HRESULT _EFN_GetManagedObjectName( // pOffset - the offset from objAddr to the field. This parameter can be NULL. // // At least one of pValue and pOffset must be non-NULL. -HRESULT _EFN_GetManagedObjectFieldInfo( +HRESULT CALLBACK _EFN_GetManagedObjectFieldInfo( PDEBUG_CLIENT client, ULONG64 objAddr, __out_ecount (mdNameLen) PSTR szFieldName, -- 2.7.4