Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2017-09-13 22:49:08 +0300
committerGitHub <noreply@github.com>2017-09-13 22:49:08 +0300
commit2709ca7625d75e5b3cf8eac8a34b95395bd15c46 (patch)
treea2d086875c70233400e153604197a9af50f68880 /mcs/class/Mono.Profiler.Log
parentbe9821f888281a347b3128912c6dc94c294b9017 (diff)
parente7a5358094b752e89a7dbe7c72405a64167d0637 (diff)
Merge pull request #5562 from alexrp/master
[profiler] Revert the root_type field back to uleb128.
Diffstat (limited to 'mcs/class/Mono.Profiler.Log')
-rw-r--r--mcs/class/Mono.Profiler.Log/Mono.Profiler.Log/LogProcessor.cs2
1 files changed, 1 insertions, 1 deletions
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 7e8111b6c29..f6928f74505 100644
--- a/mcs/class/Mono.Profiler.Log/Mono.Profiler.Log/LogProcessor.cs
+++ b/mcs/class/Mono.Profiler.Log/Mono.Profiler.Log/LogProcessor.cs
@@ -397,7 +397,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 (),
};
}