From 5cd12feae31d6e2d1f9cc9a35297a08a4e986724 Mon Sep 17 00:00:00 2001 From: Amy Yu Date: Tue, 28 Aug 2018 00:03:47 -0400 Subject: [PATCH] Add architectures supported table Commit migrated from https://github.com/dotnet/coreclr/commit/241f1ca3d58a23ea298a94a52b5afca7b2ebf136 --- src/coreclr/src/tools/r2rdump/README.md | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/src/coreclr/src/tools/r2rdump/README.md b/src/coreclr/src/tools/r2rdump/README.md index 2d6a6d6..0d7bdb9 100644 --- a/src/coreclr/src/tools/r2rdump/README.md +++ b/src/coreclr/src/tools/r2rdump/README.md @@ -33,6 +33,24 @@ dotnet R2RDump.dll --in <path to ReadyToRun image> * -v, --verbose - Dump disassembly, unwindInfo, gcInfo and section contents +## Architectures Supported + +### R2RDump Architectures + +| | x64 | x86 | ARM | ARM64 | +| ----------- | --- | --------- | --- | ----- | +| **Windows** | yes | no disasm | | | +| **Linux** | yes | | | | +| **OSX** | yes | - | - | - | + +### Input Image Architectures + +| | x64 | x86 | ARM | ARM64 | +| ----------- | --- | --- | --------- | ----- | +| **Windows** | yes | yes | no disasm | yes | +| **Linux** | yes | yes | no disasm | | +| **OSX** | yes | - | - | - | + ## ReadyToRun Format ![R2RFormat](R2RFormat.png) @@ -106,8 +124,7 @@ In x64/Arm/Arm64, GcTransitions are grouped into chunks where each chunk covers >> For each slot that changed state in the chunk: >>> Array of elements consisting of a bit set to 1 and the normCodeOffsetDelta indicating all the code offsets where the slot changed state in the chunk. CodeOffset = normCodeOffsetDelta + normChunkBaseCodeOffset + currentRangeStartOffset - cumInterruptibleLength, where normChunkBaseCodeOffset is the sum of the sizes of all preceeding chunks, currentRangeStartOffset is the start offset of the interruptible range that the transition falls under and cumInterruptibleLength is the sum of the lengths of interruptible ranges that came before it - -# Todo +## Todo * Support R2RDump on ARM and ARM64 (https://github.com/dotnet/coreclr/issues/19089) -- 2.7.4