From c6e361892a803221c73f611203f9347a54742a7a Mon Sep 17 00:00:00 2001 From: Elinor Fung Date: Tue, 13 Jun 2023 13:04:43 -0700 Subject: [PATCH] Fix break from wchar_t usage in disableddotnetruntime (#87509) --- .../Runtime/eventpipe/disableddotnetruntime.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/coreclr/nativeaot/Runtime/eventpipe/disableddotnetruntime.cpp b/src/coreclr/nativeaot/Runtime/eventpipe/disableddotnetruntime.cpp index eb767a6..f39a14e 100644 --- a/src/coreclr/nativeaot/Runtime/eventpipe/disableddotnetruntime.cpp +++ b/src/coreclr/nativeaot/Runtime/eventpipe/disableddotnetruntime.cpp @@ -26,8 +26,8 @@ ULONG EventPipeWriteEventDestroyGCHandle( } ULONG EventPipeWriteEventExceptionThrown_V1( - const wchar_t* ExceptionType, - const wchar_t* ExceptionMessage, + const WCHAR* ExceptionType, + const WCHAR* ExceptionMessage, const void* ExceptionEIP, const unsigned int ExceptionHRESULT, const unsigned short ExceptionFlags, @@ -57,7 +57,7 @@ ULONG EventPipeWriteEventGCAllocationTick_V2( const unsigned short ClrInstanceID, const unsigned __int64 AllocationAmount64, const void* TypeID, - wchar_t* TypeName, + const WCHAR* TypeName, const unsigned int HeapIndex, const GUID * ActivityId, const GUID * RelatedActivityId @@ -72,7 +72,7 @@ ULONG EventPipeWriteEventGCAllocationTick_V3( const unsigned short ClrInstanceID, const unsigned __int64 AllocationAmount64, const void* TypeID, - const wchar_t* TypeName, + const WCHAR* TypeName, const unsigned int HeapIndex, const void* Address, const GUID * ActivityId, @@ -392,15 +392,15 @@ ULONG EventPipeWriteEventModuleLoad_V2( const unsigned __int64 AssemblyID, const unsigned int ModuleFlags, const unsigned int Reserved1, - const wchar_t* ModuleILPath, - const wchar_t* ModuleNativePath, + const WCHAR* ModuleILPath, + const WCHAR* ModuleNativePath, const unsigned short ClrInstanceID, const GUID* ManagedPdbSignature, const unsigned int ManagedPdbAge, - const wchar_t* ManagedPdbBuildPath, + const WCHAR* ManagedPdbBuildPath, const GUID* NativePdbSignature, const unsigned int NativePdbAge, - const wchar_t* NativePdbBuildPath, + const WCHAR* NativePdbBuildPath, const GUID * ActivityId, const GUID * RelatedActivityId ) -- 2.7.4