From 4d2922ff84a057367e9388799a19b046cef845a3 Mon Sep 17 00:00:00 2001
From: Mira Antolovich <48299535+mla4783@users.noreply.github.com>
Date: Fri, 2 Apr 2021 10:38:21 -0400
Subject: [PATCH 01/13] Updated pr-guide broken link
I could not find the /label/ folder in the repository, so I linked a GitHub guide for automatically merging pull requests
---
docs/pr-guide.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/pr-guide.md b/docs/pr-guide.md
index 92e89e4844ae15..468de7148cc4f5 100644
--- a/docs/pr-guide.md
+++ b/docs/pr-guide.md
@@ -20,7 +20,7 @@ If during the code review process a merge conflict occurs the area owner is resp
## Merging Pull Requests
-Anyone with write access can merge a pull request manually or by setting the [auto-merge](/labels/auto-merge) label when it satisfies all of the following conditions:
+Anyone with write access can merge a pull request manually or by setting the [auto-merge](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/automatically-merging-a-pull-request) label when it satisfies all of the following conditions:
* The PR has been approved by at least one reviewer and any other objections are addressed.
* You can request another review from the original reviewer.
From 22a8f47908997bef6b85b991a457850688f9f6d7 Mon Sep 17 00:00:00 2001
From: Mira Antolovich <48299535+mla4783@users.noreply.github.com>
Date: Fri, 2 Apr 2021 10:41:55 -0400
Subject: [PATCH 02/13] Updated broken link in glossary.md
---
docs/project/glossary.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/project/glossary.md b/docs/project/glossary.md
index 6581fe2a983e65..94474896dfddeb 100644
--- a/docs/project/glossary.md
+++ b/docs/project/glossary.md
@@ -156,7 +156,7 @@ with unique characteristics were developed for .NET runtimes over the years.
**Also referred to as**: R2R
-[ReadyToRun](.../design/coreclr/botr/readytorun-overview.md)
+[ReadyToRun](../design/coreclr/botr/readytorun-overview.md)
is a file format used by the CoreCLR runtime to store AOT compiled code. `crossgen` is the AOT compiler that
produces binaries in the ReadyToRun file format.
From 7553244b4008342bb65fcf29b61ca782880d3f0f Mon Sep 17 00:00:00 2001
From: Mira Antolovich <48299535+mla4783@users.noreply.github.com>
Date: Fri, 2 Apr 2021 10:47:32 -0400
Subject: [PATCH 03/13] Fixed broken link in code-generation-strategies.md
---
docs/design/features/code-generation-strategies.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/design/features/code-generation-strategies.md b/docs/design/features/code-generation-strategies.md
index 5b2acfbfd5e817..a3d2f57238e2ed 100644
--- a/docs/design/features/code-generation-strategies.md
+++ b/docs/design/features/code-generation-strategies.md
@@ -8,7 +8,7 @@ One of the most important tasks a .NET runtime has is turning instructions for t
One of the techniques that CoreCLR employs is Just in time compilation ("JIT"). This strategy translates instructions for the abstract processor into native instructions for the processor that the program is running on "just in time". The term "just in time" means that the translation happens when the need arises. For example, a method can be translated when it's first called.
-The actual transformation of IL into native code is handled by the code generator. Code generator is a component of the CoreCLR virtual machine that (with the help of other components of CoreCLR, such as the type system) translates IL into native code. The code generator talks to the rest of the virtual machine over a well-defined interface: this allows code generators to be relatively pluggable. The code generator used by the CoreCLR is [RyuJIT](../coreclr/botr/ryujit-overview.md). Over the years, CLR has had many other code generators serving different purposes, such as the simplified [fjit](https://github.com/SSCLI/sscli20_20060311/tree/master/clr/src/fjit), LLVM-based [LLIC](https://github.com/dotnet/llilc), or the closed-source jit32 and jit64.
+The actual transformation of IL into native code is handled by the code generator. Code generator is a component of the CoreCLR virtual machine that (with the help of other components of CoreCLR, such as the type system) translates IL into native code. The code generator talks to the rest of the virtual machine over a well-defined interface: this allows code generators to be relatively pluggable. The code generator used by the CoreCLR is [RyuJIT](../coreclr/jit/ryujit-overview.md). Over the years, CLR has had many other code generators serving different purposes, such as the simplified [fjit](https://github.com/SSCLI/sscli20_20060311/tree/master/clr/src/fjit), LLVM-based [LLIC](https://github.com/dotnet/llilc), or the closed-source jit32 and jit64.
Big advantage of Just in time compilation is that the generated native code can be tailored for the specific physical processor model. RyuJIT currently uses information about the processor to e.g. unlock the use of AVX instructions on x64 processors that support it.
From 23e703345af2e6bd9cdb3f727f2aa5f52b0bcf94 Mon Sep 17 00:00:00 2001
From: Mira Antolovich <48299535+mla4783@users.noreply.github.com>
Date: Fri, 2 Apr 2021 10:57:26 -0400
Subject: [PATCH 04/13] Fixed broken links in tiered-compilation
I think that callcounter.h/callcounter.cpp was renamed to callcounting.h/callcounting.cpp as I could not find "callcounter" anymore.
---
docs/design/features/tiered-compilation.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/design/features/tiered-compilation.md b/docs/design/features/tiered-compilation.md
index dcade2e53cf450..8e10940b7bdc45 100644
--- a/docs/design/features/tiered-compilation.md
+++ b/docs/design/features/tiered-compilation.md
@@ -84,7 +84,7 @@ Implementation
The majority of the implementation can be located in [tieredcompilation.h](../../../src/coreclr/vm/tieredcompilation.h), and [tieredcompilation.cpp](../../../src/coreclr/vm/tieredcompilation.cpp)
-The call counter is implemented in [callcounter.h](../../../src/coreclr/vm/callcounter.h), and [callcounter.cpp](../../../src/coreclr/vm/callcounter.cpp)
+The call counter is implemented in [callcounting.h](../../../src/coreclr/vm/callcounting.h), and [callcounting.cpp](../../../src/coreclr/vm/callcounting.cpp)
The policy that determines which methods are eligible for tiering is implemented in `MethodDesc::IsEligibleForTieredCompilation`, located in [method.hpp](../../../src/coreclr/vm/method.hpp)
From 5560873b56dbe84c32667f8fa281968d6aa5869a Mon Sep 17 00:00:00 2001
From: Mira Antolovich <48299535+mla4783@users.noreply.github.com>
Date: Fri, 2 Apr 2021 11:09:03 -0400
Subject: [PATCH 05/13] Fixed broken link in System.Private.CoreLib
Changed /mono/netcore to just /mono/ as netcore is no longer a folder
---
src/libraries/System.Private.CoreLib/src/README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libraries/System.Private.CoreLib/src/README.md b/src/libraries/System.Private.CoreLib/src/README.md
index 0d1fd90fb45635..4229b11e4785cb 100644
--- a/src/libraries/System.Private.CoreLib/src/README.md
+++ b/src/libraries/System.Private.CoreLib/src/README.md
@@ -17,4 +17,4 @@ The CoreCLR specific sources can be found at [src/coreclr/System.Private.CoreLib
## System.Private.CoreLib Mono Sources
-The Mono specific sources can be found at [src/mono/netcore/System.Private.CoreLib](../../../mono/netcore/System.Private.CoreLib/).
+The Mono specific sources can be found at [src/mono/netcore/System.Private.CoreLib](../../../mono/System.Private.CoreLib/).
From 5fbec42a14078678dbc9c529cac57ef81fdee225 Mon Sep 17 00:00:00 2001
From: Mira Antolovich <48299535+mla4783@users.noreply.github.com>
Date: Fri, 2 Apr 2021 11:47:26 -0400
Subject: [PATCH 06/13] Fixed broken link in ILVerify
/src/ folder no longer exists in ILVerification
---
src/coreclr/tools/ILVerify/README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/coreclr/tools/ILVerify/README.md b/src/coreclr/tools/ILVerify/README.md
index 23c22ca4945a84..6d77831bdc70e7 100644
--- a/src/coreclr/tools/ILVerify/README.md
+++ b/src/coreclr/tools/ILVerify/README.md
@@ -92,7 +92,7 @@ E.g.: ```SimpleAdd_Valid```
The method name must contain 2 '`_`' characters.
1. part: a friendly name
2. part: must be the word 'Invalid' (Case sensitive)
- 3. part: the expected [VerifierErrors](../ILVerification/src/VerifierError.cs) as string separated by '.'. We assert on these errors; the test fails if ILVerify does not report these errors.
+ 3. part: the expected [VerifierErrors](../ILVerification/VerifierError.cs) as string separated by '.'. We assert on these errors; the test fails if ILVerify does not report these errors.
E.g.: ```SimpleAdd_Invalid_ExpectedNumericType```
From 269eae293361b5590f828a2551d2ba481eef2a59 Mon Sep 17 00:00:00 2001
From: Mira Antolovich <48299535+mla4783@users.noreply.github.com>
Date: Fri, 2 Apr 2021 13:14:24 -0400
Subject: [PATCH 07/13] Fixed broken links for r2rdump
/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun is where NativeArray.cs and NativeHashtable.cs is located
---
src/coreclr/tools/r2rdump/README.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/coreclr/tools/r2rdump/README.md b/src/coreclr/tools/r2rdump/README.md
index 5578ba4a3ea6ca..6d6bbcc15505c6 100644
--- a/src/coreclr/tools/r2rdump/README.md
+++ b/src/coreclr/tools/r2rdump/README.md
@@ -75,19 +75,19 @@ A array of RVAs. For x64, each RuntimeFunction has RVAs to the start of the asse
### READYTORUN_SECTION_METHODDEF_ENTRYPOINTS
-A [NativeArray](NativeArray.cs) used for finding the index of the entrypoint RuntimeFunction for each method. The NativeArray is index by is the rowId-1 of a method. Each element in the NativeArray is an offset pointing to the RuntimeFunction index.
+A [NativeArray](../aot/ILCompiler.Reflection.ReadyToRun/NativeArray.cs) used for finding the index of the entrypoint RuntimeFunction for each method. The NativeArray is index by is the rowId-1 of a method. Each element in the NativeArray is an offset pointing to the RuntimeFunction index.
### READYTORUN_SECTION_AVAILABLE_TYPES
-A [NativeHashtable](NativeHashtable.cs) mapping type hashcodes of types defined in the program to the rowIds. The hashcode is calculated with [ComputeNameHashCode](../../vm/typehashingalgorithms.h)(namespace) ^ [ComputeNameHashCode](../../vm/typehashingalgorithms.h)(name)
+A [NativeHashtable](../aot/ILCompiler.Reflection.ReadyToRun/NativeHashtable.cs) mapping type hashcodes of types defined in the program to the rowIds. The hashcode is calculated with [ComputeNameHashCode](../../vm/typehashingalgorithms.h)(namespace) ^ [ComputeNameHashCode](../../vm/typehashingalgorithms.h)(name)
### READYTORUN_SECTION_ATTRIBUTEPRESENCE
-A [NativeCuckooFilter](NativeHashtable.cs) to discover which tokens have which "System.Runtime." prefixed attributes. The System.Runtime.CompilerServices.NullableAttribute is not used in this calculation. The filter is composed of a name hash of the type name using [ComputeNameHashCode](../../vm/typehashingalgorithms.h)(namespace + name) hash combined with a hash of each token that produced it. In addition the upper 16 bits is used as the fingerprint in the filter.
+A [NativeCuckooFilter](../aot/ILCompiler.Reflection.ReadyToRun/NativeHashtable.cs) to discover which tokens have which "System.Runtime." prefixed attributes. The System.Runtime.CompilerServices.NullableAttribute is not used in this calculation. The filter is composed of a name hash of the type name using [ComputeNameHashCode](../../vm/typehashingalgorithms.h)(namespace + name) hash combined with a hash of each token that produced it. In addition the upper 16 bits is used as the fingerprint in the filter.
### READYTORUN_SECTION_INSTANCE_METHOD_ENTRYPOINTS
-A [NativeHashtable](NativeHashtable.cs) mapping type hashcodes of generic instances to the (methodFlags, methodRowId, list of types, runtimeFunctionId). Each type in the list of types corresponds to a generic type in the method.
+A [NativeHashtable](../aot/ILCompiler.Reflection.ReadyToRun/NativeHashtable.cs) mapping type hashcodes of generic instances to the (methodFlags, methodRowId, list of types, runtimeFunctionId). Each type in the list of types corresponds to a generic type in the method.
Eg. GenericMethod<S, T>(T arg1, S arg2) instantiated for <int, UserDefinedStruct> is in the hashtable as:
From 128f4713859d3e3d6cee1ed7d963e7a3efb3de53 Mon Sep 17 00:00:00 2001
From: Mira Antolovich <48299535+mla4783@users.noreply.github.com>
Date: Fri, 2 Apr 2021 13:20:46 -0400
Subject: [PATCH 08/13] Fixed grammar issue
Added period to end of sentence
---
src/coreclr/scripts/superpmi.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/coreclr/scripts/superpmi.md b/src/coreclr/scripts/superpmi.md
index 30e6a86222d1b2..d9404dc32d7406 100644
--- a/src/coreclr/scripts/superpmi.md
+++ b/src/coreclr/scripts/superpmi.md
@@ -1,7 +1,7 @@
# Documentation for the superpmi.py tool
SuperPMI is a tool for developing and testing the JIT compiler.
-General information on SuperPMI can be found [here](../ToolBox/superpmi/readme.md)
+General information on SuperPMI can be found [here](../ToolBox/superpmi/readme.md).
## Overview
From bda06a68ef6e2bb50f065730d7f17b902d3566a7 Mon Sep 17 00:00:00 2001
From: Mira Antolovich <48299535+mla4783@users.noreply.github.com>
Date: Fri, 2 Apr 2021 13:25:29 -0400
Subject: [PATCH 09/13] Fixed broken link on guide-for-porting
---
docs/design/coreclr/botr/guide-for-porting.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/design/coreclr/botr/guide-for-porting.md b/docs/design/coreclr/botr/guide-for-porting.md
index 03b64e72d1c105..17e5630d6b7363 100644
--- a/docs/design/coreclr/botr/guide-for-porting.md
+++ b/docs/design/coreclr/botr/guide-for-porting.md
@@ -218,7 +218,7 @@ be done.
Notable components
1. The JIT. The jit maintains the largest concentration of architecture
- specific logic in the stack. This is not surprising. See [Porting RyuJit](porting-ryujit.md)
+ specific logic in the stack. This is not surprising. See [Porting RyuJit](../jit/porting-ryujit.md)
for guidance.
2. The CLR PAL. When porting to a non-Windows OS, the PAL will be the first component
From f9bda79c731c507a2542c19334d6af53fc44a801 Mon Sep 17 00:00:00 2001
From: Mira Antolovich <48299535+mla4783@users.noreply.github.com>
Date: Fri, 2 Apr 2021 13:28:46 -0400
Subject: [PATCH 10/13] Fixed broken link on README
---
src/mono/sample/wasm/browser-profile/README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mono/sample/wasm/browser-profile/README.md b/src/mono/sample/wasm/browser-profile/README.md
index 411de089d2a1c7..1cc54413e1e778 100644
--- a/src/mono/sample/wasm/browser-profile/README.md
+++ b/src/mono/sample/wasm/browser-profile/README.md
@@ -54,7 +54,7 @@ function saveProfile() {
``
``
-For more information on how to utilize WasmApp.InTree.targets/props consult the wasm build directory [README.md](../../../../wasm/build/README.md)
+For more information on how to utilize WasmApp.InTree.targets/props consult the wasm build directory [README.md](../README.md)
2. To get the profile data, run:
From dd4d014eb8b447ce11b085e77bc5f28c8b57b658 Mon Sep 17 00:00:00 2001
From: Mira Antolovich <48299535+mla4783@users.noreply.github.com>
Date: Fri, 2 Apr 2021 13:30:02 -0400
Subject: [PATCH 11/13] Fixed link
---
src/mono/sample/wasm/browser-profile/README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mono/sample/wasm/browser-profile/README.md b/src/mono/sample/wasm/browser-profile/README.md
index 1cc54413e1e778..88cf9fc8191f5a 100644
--- a/src/mono/sample/wasm/browser-profile/README.md
+++ b/src/mono/sample/wasm/browser-profile/README.md
@@ -54,7 +54,7 @@ function saveProfile() {
``
``
-For more information on how to utilize WasmApp.InTree.targets/props consult the wasm build directory [README.md](../README.md)
+For more information on how to utilize WasmApp.InTree.targets/props consult the wasm build directory [README.md](../../wasm/README.md)
2. To get the profile data, run:
From 17b7ab5101fcae6c3832f297ad41ead169f7c1de Mon Sep 17 00:00:00 2001
From: Mira Antolovich <48299535+mla4783@users.noreply.github.com>
Date: Fri, 2 Apr 2021 13:30:29 -0400
Subject: [PATCH 12/13] Link fix
---
src/mono/sample/wasm/browser-profile/README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mono/sample/wasm/browser-profile/README.md b/src/mono/sample/wasm/browser-profile/README.md
index 88cf9fc8191f5a..1e2981be112f7f 100644
--- a/src/mono/sample/wasm/browser-profile/README.md
+++ b/src/mono/sample/wasm/browser-profile/README.md
@@ -54,7 +54,7 @@ function saveProfile() {
``
``
-For more information on how to utilize WasmApp.InTree.targets/props consult the wasm build directory [README.md](../../wasm/README.md)
+For more information on how to utilize WasmApp.InTree.targets/props consult the wasm build directory [README.md](../../../wasm/README.md)
2. To get the profile data, run:
From 15f193ba149658dd4b23245ff0bb3be11205c94b Mon Sep 17 00:00:00 2001
From: Marek Safar
Date: Sat, 3 Apr 2021 09:21:56 +0200
Subject: [PATCH 13/13] Update
src/libraries/System.Private.CoreLib/src/README.md
Co-authored-by: Youssef Victor
---
src/libraries/System.Private.CoreLib/src/README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libraries/System.Private.CoreLib/src/README.md b/src/libraries/System.Private.CoreLib/src/README.md
index 4229b11e4785cb..05884c8c2dc1e1 100644
--- a/src/libraries/System.Private.CoreLib/src/README.md
+++ b/src/libraries/System.Private.CoreLib/src/README.md
@@ -17,4 +17,4 @@ The CoreCLR specific sources can be found at [src/coreclr/System.Private.CoreLib
## System.Private.CoreLib Mono Sources
-The Mono specific sources can be found at [src/mono/netcore/System.Private.CoreLib](../../../mono/System.Private.CoreLib/).
+The Mono specific sources can be found at [src/mono/System.Private.CoreLib](../../../mono/System.Private.CoreLib/).