Fix break from wchar_t usage in disableddotnetruntime (#87509)
authorElinor Fung <elfung@microsoft.com>
Tue, 13 Jun 2023 20:04:43 +0000 (13:04 -0700)
committerGitHub <noreply@github.com>
Tue, 13 Jun 2023 20:04:43 +0000 (13:04 -0700)
src/coreclr/nativeaot/Runtime/eventpipe/disableddotnetruntime.cpp

index eb767a6..f39a14e 100644 (file)
@@ -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
 )