From: Alex Rønne Petersen Date: Wed, 13 Sep 2017 07:17:45 +0000 (+0200) Subject: [Mono.Profiler.Log] Read root type field as uleb128. X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=mono.git;a=commitdiff_plain;h=e7a5358094b752e89a7dbe7c72405a64167d0637 [Mono.Profiler.Log] Read root type field as uleb128. --- diff --git a/mcs/class/Mono.Profiler.Log/Mono.Profiler.Log/LogProcessor.cs b/mcs/class/Mono.Profiler.Log/Mono.Profiler.Log/LogProcessor.cs index 5afdbbeb4eb..51908e1ca27 100644 --- a/mcs/class/Mono.Profiler.Log/Mono.Profiler.Log/LogProcessor.cs +++ b/mcs/class/Mono.Profiler.Log/Mono.Profiler.Log/LogProcessor.cs @@ -364,7 +364,7 @@ namespace Mono.Profiler.Log { for (var i = 0; i < list.Length; i++) { list [i] = new HeapRootsEvent.HeapRoot { ObjectPointer = ReadObject (), - Attributes = (LogHeapRootAttributes) Reader.ReadByte (), + Attributes = (LogHeapRootAttributes) Reader.ReadULeb128 (), ExtraInfo = (long) Reader.ReadULeb128 (), }; }