From 126045ca05ea4dec4c987d72095e9dbf0a233f4a Mon Sep 17 00:00:00 2001 From: N0D4N <50947930+N0D4N@users.noreply.github.com> Date: Mon, 15 Aug 2022 03:56:07 +0300 Subject: [PATCH] Repoint urls in docs (#73766) --- .../profiling/Profiler Attach on CoreCLR.md | 2 +- docs/design/features/additional-deps.md | 4 +- docs/design/features/native-hosting.md | 2 +- docs/project/linux-performance-tracing.md | 2 +- docs/workflow/debugging/coreclr/debugging.md | 8 ++-- .../debugging/libraries/unix-instructions.md | 4 +- eng/pipelines/installer/jobs/base-job.yml | 2 +- eng/testing/debug-dump-template.md | 4 +- .../Reflection/RuntimeCustomAttributeData.cs | 2 +- src/coreclr/inc/gcdecoder.cpp | 2 +- src/coreclr/inc/gcinfo.h | 2 +- src/coreclr/inc/gcinfodecoder.h | 2 +- src/coreclr/inc/gcinfodumper.h | 2 +- src/coreclr/inc/gcinfotypes.h | 2 +- src/coreclr/inc/predeftlsslot.h | 2 +- src/coreclr/inc/stresslog.h | 4 +- src/coreclr/inc/tls.h | 2 +- src/coreclr/nativeaot/Runtime/inc/ModuleHeaders.h | 2 +- .../src/System/Activator.NativeAot.cs | 6 +-- .../System/Threading/Thread.NativeAot.Windows.cs | 2 +- .../tools/Common/Internal/Runtime/ModuleHeaders.cs | 2 +- .../Common/Internal/Runtime/ReadyToRunConstants.cs | 2 +- .../ReadyToRun/DebugInfoTableNode.cs | 48 +++++++++++----------- .../Compiler/ReadyToRunHashCode.cs | 20 ++++----- .../ReadyToRunMetadataFieldLayoutAlgorithm.cs | 8 ++-- .../JitInterface/CorInfoImpl.ReadyToRun.cs | 4 +- .../Amd64/GcInfo.cs | 10 ++--- .../Amd64/GcSlotTable.cs | 2 +- .../Amd64/Registers.cs | 2 +- .../Amd64/UnwindInfo.cs | 10 ++--- .../Arm/Registers.cs | 2 +- .../Arm/UnwindInfo.cs | 2 +- .../Arm64/UnwindInfo.cs | 2 +- .../ILCompiler.Reflection.ReadyToRun/DebugInfo.cs | 2 +- .../aot/ILCompiler.Reflection.ReadyToRun/EHInfo.cs | 2 +- .../GCInfoTypes.cs | 6 +-- .../NativeArray.cs | 2 +- .../NativeHashtable.cs | 6 +-- .../NativeReader.cs | 14 +++---- .../ReadyToRunHeader.cs | 2 +- .../ReadyToRunImportSection.cs | 2 +- .../ReadyToRunReader.cs | 4 +- .../ReadyToRunSignature.cs | 6 +-- .../x86/CallPattern.cs | 6 +-- .../ILCompiler.Reflection.ReadyToRun/x86/GcInfo.cs | 8 ++-- .../x86/GcSlotTable.cs | 4 +- .../x86/InfoHdr.cs | 8 ++-- .../x86/Registers.cs | 4 +- .../x86/UnwindInfo.cs | 2 +- .../Microsoft.NET.HostModel.csproj | 2 +- .../Microsoft.NETCore.App.Host.sfxproj | 4 +- .../HostActivation.Tests/PortableAppActivation.cs | 6 +-- .../NETCoreTests.cs | 2 +- .../src/DependencyContextWriter.cs | 2 +- .../tests/DependencyContextJsonWriterTests.cs | 2 +- ...nary.Generic.Tests.ConcurrentAccessDetection.cs | 2 +- .../src/System/Diagnostics/Activity.cs | 8 ++-- .../src/System/Diagnostics/DiagnosticListener.cs | 2 +- .../src/System/Diagnostics/DiagnosticSource.cs | 2 +- .../src/System/Diagnostics/Tracing/EventCounter.cs | 2 +- .../Metadata/Ecma335/MetadataBuilder.Heaps.cs | 2 +- .../Ecma/EcmaCustomAttributeHelpers.cs | 2 +- .../Json/Writer/JsonWriterHelper.Transcoding.cs | 2 +- .../src/System/Reflection/RuntimePropertyInfo.cs | 2 +- src/mono/mono/metadata/assembly.c | 2 +- src/mono/mono/metadata/debug-mono-ppdb.c | 2 +- src/mono/mono/metadata/icall.c | 6 +-- src/mono/mono/mini/mini-amd64.c | 2 +- src/mono/mono/utils/mono-dl.c | 2 +- src/mono/mono/utils/mono-proclib.c | 2 +- src/mono/mono/utils/mono-time.c | 2 +- src/mono/mono/utils/mono-utils-debug.c | 2 +- src/native/corehost/hostmisc/longfile.windows.cpp | 4 +- src/native/eventpipe/ds-process-protocol.c | 12 +++--- src/native/eventpipe/ds-process-protocol.h | 2 +- .../HardwareIntrinsics/X86/General/VectorArgs.cs | 4 +- .../HardwareIntrinsics/X86/General/VectorArray.cs | 4 +- .../HardwareIntrinsics/X86/General/VectorRet.cs | 4 +- .../HardwareIntrinsics/X86/General/VectorUnused.cs | 4 +- .../SmokeTests/DynamicGenerics/GitHub21379.cs | 2 +- .../sizeondisk/sodbench/THIRD-PARTY-NOTICES.TXT | 2 +- 81 files changed, 175 insertions(+), 175 deletions(-) diff --git a/docs/design/coreclr/profiling/Profiler Attach on CoreCLR.md b/docs/design/coreclr/profiling/Profiler Attach on CoreCLR.md index 6a724e4..2e80aec 100644 --- a/docs/design/coreclr/profiling/Profiler Attach on CoreCLR.md +++ b/docs/design/coreclr/profiling/Profiler Attach on CoreCLR.md @@ -19,7 +19,7 @@ This method returns a status HR following the usual convention, 0 (S_OK) means a ## What if you can't run managed code in your trigger process? -If you are unable to run managed code as part of your trigger process, it is still possible to request a profiler attach. The spec for the diagnostics port is located [here](https://github.com/dotnet/diagnostics/blob/master/documentation/design-docs/ipc-protocol.md). +If you are unable to run managed code as part of your trigger process, it is still possible to request a profiler attach. The spec for the diagnostics port is located [here](https://github.com/dotnet/diagnostics/blob/main/documentation/design-docs/ipc-protocol.md). You will have to do the following (according to the above spec): 1) Open the appropriate channel - domain socket on Linux and a named pipe on Windows diff --git a/docs/design/features/additional-deps.md b/docs/design/features/additional-deps.md index 26654e1..08a6da6 100644 --- a/docs/design/features/additional-deps.md +++ b/docs/design/features/additional-deps.md @@ -3,9 +3,9 @@ ## Summary This document describes current (2.0) and proposed (2.1) behavior for "light-up" scenarios regarding additional-deps functionality. The proposed behavior resolves the following issues: -https://github.com/dotnet/core-setup/issues/3889 +https://github.com/dotnet/runtime/issues/3093 -https://github.com/dotnet/core-setup/issues/3884 +https://github.com/dotnet/runtime/issues/3091 The `deps.json` file format specifies assets including managed assemblies, resource assemblies and native libraries to load. diff --git a/docs/design/features/native-hosting.md b/docs/design/features/native-hosting.md index 1d83c4b..771b728 100644 --- a/docs/design/features/native-hosting.md +++ b/docs/design/features/native-hosting.md @@ -306,7 +306,7 @@ Returns the value of a runtime property specified by its name. Trying to get a property which doesn't exist is an error and will return an appropriate error code. -We're proposing a fix in `hostpolicy` which will make sure that there are no duplicates possible after initialization (see [dotnet/core-setup#5529](https://github.com/dotnet/core-setup/issues/5529)). With that `hostfxr_get_runtime_property_value` will work always (as there can only be one value). +We're proposing a fix in `hostpolicy` which will make sure that there are no duplicates possible after initialization (see [dotnet/runtime#3514](https://github.com/dotnet/runtime/issues/3514)). With that `hostfxr_get_runtime_property_value` will work always (as there can only be one value). ``` C diff --git a/docs/project/linux-performance-tracing.md b/docs/project/linux-performance-tracing.md index 8cb7add..217bd2d 100644 --- a/docs/project/linux-performance-tracing.md +++ b/docs/project/linux-performance-tracing.md @@ -275,5 +275,5 @@ dotnet-trace collect --process-id The resulting trace can be viewed in [PerfView](https://aka.ms/perfview) on Windows. Alternatively on Linux/macOS, it can be viewed on [SpeedScope](https://speedscope.app) if you convert the trace format to speedscope by passing `--format speedscope` argument when collecting the trace. ## More Information ## -To read more about how to use dotnet-trace, please refer to the [dotnet-trace documentation](https://github.com/dotnet/diagnostics/blob/master/documentation/dotnet-trace-instructions.md). +To read more about how to use dotnet-trace, please refer to the [dotnet-trace documentation](https://github.com/dotnet/diagnostics/blob/main/documentation/dotnet-trace-instructions.md). diff --git a/docs/workflow/debugging/coreclr/debugging.md b/docs/workflow/debugging/coreclr/debugging.md index fe16fcd..19f7144 100644 --- a/docs/workflow/debugging/coreclr/debugging.md +++ b/docs/workflow/debugging/coreclr/debugging.md @@ -87,14 +87,14 @@ When there's source code change in coreclr, invoke the 'Install' command again t ### Using SOS with windbg or cdb on Windows ### -See the SOS installation instructions [here](https://github.com/dotnet/diagnostics/blob/master/documentation/installing-sos-windows-instructions.md). +See the SOS installation instructions [here](https://github.com/dotnet/diagnostics/blob/main/documentation/installing-sos-windows-instructions.md). -For more information on SOS commands click [here](https://github.com/dotnet/diagnostics/blob/master/documentation/sos-debugging-extension-windows.md). +For more information on SOS commands click [here](https://github.com/dotnet/diagnostics/blob/main/documentation/sos-debugging-extension-windows.md). Debugging CoreCLR on Linux and macOS ==================================== -See the SOS installation instructions [here](https://github.com/dotnet/diagnostics/blob/master/documentation/installing-sos-instructions.md). After SOS is installed, it will automatically be loaded by lldb. +See the SOS installation instructions [here](https://github.com/dotnet/diagnostics/blob/main/documentation/installing-sos-instructions.md). After SOS is installed, it will automatically be loaded by lldb. Only lldb is supported by SOS. Gdb can be used to debug the coreclr code but with no SOS support. @@ -113,7 +113,7 @@ See https://docs.microsoft.com/en-us/dotnet/core/diagnostics/dotnet-sos for info ### Debugging core dumps with lldb -See this [link](https://github.com/dotnet/diagnostics/blob/master/documentation/debugging-coredump.md) in the diagnostics repo. +See this [link](https://github.com/dotnet/diagnostics/blob/main/documentation/debugging-coredump.md) in the diagnostics repo. Disabling Managed Attach/Debugging ================================== diff --git a/docs/workflow/debugging/libraries/unix-instructions.md b/docs/workflow/debugging/libraries/unix-instructions.md index 337df05..7e6b770 100644 --- a/docs/workflow/debugging/libraries/unix-instructions.md +++ b/docs/workflow/debugging/libraries/unix-instructions.md @@ -15,7 +15,7 @@ It is also possible to debug .NET crash dumps using lldb and SOS. In order to do - The crash dump file. - On Linux, there is an utility called `createdump` (see [doc](../../../design/coreclr/botr/xplat-minidump-generation.md "doc")) that can be setup to generate core dumps when a managed app throws an unhandled exception or faults.' -There are instructions for installing lldb and SOS [here](https://github.com/dotnet/diagnostics/blob/master/documentation/sos.md). +There are instructions for installing lldb and SOS [here](https://github.com/dotnet/diagnostics/blob/main/documentation/sos.md). Once you have everything listed above, you are ready to start debugging. You need to specify an extra parameter to lldb in order for it to correctly resolve the symbols for libcoreclr.so. Use a command like this: @@ -29,7 +29,7 @@ lldb-3.9 -O "settings set target.exec-search-paths " --core /// DebugInfoTableNode emits the data structures required to support managed code debugging - /// for ready to run code. See https://github.com/dotnet/coreclr/blob/master/src/inc/cordebuginfo.h - /// for the types this information is based on. We store two tables of information in an + /// for ready to run code. See https://github.com/dotnet/runtime/blob/main/src/coreclr/inc/cordebuginfo.h + /// for the types this information is based on. We store two tables of information in an /// image: - /// + /// /// Location Information /// - /// In order to provide source line debugging, generated ready-to-run code is mapped + /// In order to provide source line debugging, generated ready-to-run code is mapped /// back to the original IL instruction. This maps to OffsetMapping in cordebuginfo.h. - /// + /// /// A row in the table looks like this: - /// + /// /// Native offset | IL Offset | Flags - /// - /// Native offset starts at 0 for the beginning of a method. The rows are stored in + /// + /// Native offset starts at 0 for the beginning of a method. The rows are stored in /// ascending order of offset and use a delta encoding. That is, each successive row /// stores the difference between the previous native offset and the new one to save /// encoding space. - /// - /// Flags stores values useful to the debugger. For example, if the offset is a - /// call site, or the stack is empty at that point. These are used for edit and + /// + /// Flags stores values useful to the debugger. For example, if the offset is a + /// call site, or the stack is empty at that point. These are used for edit and /// continue. It maps to SourceTypes in cordebuginfo.h. - /// + /// /// Variable Information - /// - /// The debugger needs to know, for a given native code range, where the memory + /// + /// The debugger needs to know, for a given native code range, where the memory /// backing each variable is stored. That can be in a register, on the stack, or maybe - /// even split between a combination of registers and the stack. This maps to + /// even split between a combination of registers and the stack. This maps to /// NativeVarInfo in cordebuginfo.h. - /// + /// /// A row in the table looks like this: - /// + /// /// Start Offset | End Offset | Variable Number | Location - /// + /// /// Start Offset and End Offset are offsets within the generated native code and are /// used to capture the range of instructions during which the variable is stored /// in the same location. - /// + /// /// Variable Number is the index of each variable in the original IL code. - /// + /// /// Location is a variant data structure specifying what memory is backing the variable /// for a given native code range. This is a specific register, or a stack offset. This /// maps to VarLoc in cordebuginfo.h. - /// + /// /// public class DebugInfoTableNode : HeaderTableNode { @@ -83,11 +83,11 @@ namespace ILCompiler.DependencyAnalysis.ReadyToRun section.Place(vertexArray); Dictionary blobCache = new Dictionary(ByteArrayComparer.Instance); - + foreach (MethodWithGCInfo method in factory.EnumerateCompiledMethods()) { MemoryStream methodDebugBlob = new MemoryStream(); - + byte[] bounds = method.DebugLocInfos; byte[] vars = method.DebugVarInfos; @@ -167,7 +167,7 @@ namespace ILCompiler.DependencyAnalysis.ReadyToRun writer.WriteUInt((uint)(nativeVarInfo.varNumber - (int)ILNum.MAX_ILNUM)); VarLocType varLocType = nativeVarInfo.varLoc.LocationType; - + writer.WriteUInt((uint)varLocType); switch (varLocType) diff --git a/src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/ReadyToRunHashCode.cs b/src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/ReadyToRunHashCode.cs index 1f93e7c..94c4225 100644 --- a/src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/ReadyToRunHashCode.cs +++ b/src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/ReadyToRunHashCode.cs @@ -17,7 +17,7 @@ namespace ILCompiler public static class ReadyToRunHashCode { /// - /// CoreCLR ComputeNameHashCode + /// CoreCLR ComputeNameHashCode /// /// Name string to hash public static int NameHashCode(string name) @@ -53,7 +53,7 @@ namespace ILCompiler /// /// Calculate hash code for a namespace - name combination. - /// CoreCLR 2-parameter ComputeNameHashCode + /// CoreCLR 2-parameter ComputeNameHashCode /// DIFFERENT FROM NATIVEAOT: NativeAOT hashes the full name as one string ("namespace.name"), /// as the full name is already available. In CoreCLR we normally only have separate /// strings for namespace and name, thus we hash them separately. @@ -66,7 +66,7 @@ namespace ILCompiler } /// - /// CoreCLR 3-parameter GetVersionResilientTypeHashCode + /// CoreCLR 3-parameter GetVersionResilientTypeHashCode /// /// Type to hash public static int TypeTableHashCode(DefType type) @@ -82,7 +82,7 @@ namespace ILCompiler } /// - /// CoreCLR 1-parameter GetVersionResilientTypeHashCode + /// CoreCLR 1-parameter GetVersionResilientTypeHashCode /// /// Type to hash public static int TypeHashCode(TypeDesc type) @@ -124,7 +124,7 @@ namespace ILCompiler } /// - /// CoreCLR ComputeNestedTypeHashCode + /// CoreCLR ComputeNestedTypeHashCode /// /// Hash code of the enclosing type /// Hash code of the nested type name @@ -134,7 +134,7 @@ namespace ILCompiler } /// - /// CoreCLR ComputeArrayTypeHashCode + /// CoreCLR ComputeArrayTypeHashCode /// /// Hash code representing the array element type /// Array rank @@ -152,7 +152,7 @@ namespace ILCompiler } /// - /// CoreCLR ComputePointerTypeHashCode + /// CoreCLR ComputePointerTypeHashCode /// /// Hash code of the pointee type private static int PointerTypeHashCode(int pointeeTypeHashcode) @@ -161,7 +161,7 @@ namespace ILCompiler } /// - /// CoreCLR ComputeByrefTypeHashCode + /// CoreCLR ComputeByrefTypeHashCode /// /// Hash code representing the parameter type private static int ByrefTypeHashCode(int parameterTypeHashcode) @@ -170,7 +170,7 @@ namespace ILCompiler } /// - /// CoreCLR ComputeGenericInstanceHashCode + /// CoreCLR ComputeGenericInstanceHashCode /// /// Base hash code /// Instantiation to include in the hash @@ -185,7 +185,7 @@ namespace ILCompiler } /// - /// CoreCLR GetVersionResilientMethodHashCode + /// CoreCLR GetVersionResilientMethodHashCode /// /// Method to hash public static int MethodHashCode(MethodDesc method) diff --git a/src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/ReadyToRunMetadataFieldLayoutAlgorithm.cs b/src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/ReadyToRunMetadataFieldLayoutAlgorithm.cs index fb8c216..de15cbc 100644 --- a/src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/ReadyToRunMetadataFieldLayoutAlgorithm.cs +++ b/src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/ReadyToRunMetadataFieldLayoutAlgorithm.cs @@ -157,7 +157,7 @@ namespace ILCompiler if (typeDef.GetGenericParameters().Count != 0) { // Generic types are exempt from the static field layout algorithm, see - // this check. + // this check. continue; } @@ -172,7 +172,7 @@ namespace ILCompiler if ((fieldDef.Attributes & (FieldAttributes.Static | FieldAttributes.Literal)) == FieldAttributes.Static) { // Static RVA fields are included when approximating offsets and sizes for the module field layout, see - // this loop. + // this loop. int index = (IsFieldThreadStatic(in fieldDef, module.MetadataReader) ? StaticIndex.ThreadLocal : StaticIndex.Regular); int alignment; @@ -271,7 +271,7 @@ namespace ILCompiler if (moduleLayout && fieldType.GetTypeDefinition() is EcmaType ecmaType && ecmaType.EcmaModule != module) { // Allocate pessimistic non-GC area for cross-module fields as that's what CoreCLR does - // here + // here alignment = TargetDetails.MaximumPrimitiveSize; size = TargetDetails.MaximumPrimitiveSize; isGcBoxedField = true; @@ -372,7 +372,7 @@ namespace ILCompiler if (moduleLayout && fieldDesc.FieldType.GetTypeDefinition() is EcmaType ecmaType && ecmaType.EcmaModule != module) { // Allocate pessimistic non-GC area for cross-module fields as that's what CoreCLR does - // here + // here alignment = TargetDetails.MaximumPrimitiveSize; size = TargetDetails.MaximumPrimitiveSize; isGcBoxedField = true; diff --git a/src/coreclr/tools/aot/ILCompiler.ReadyToRun/JitInterface/CorInfoImpl.ReadyToRun.cs b/src/coreclr/tools/aot/ILCompiler.ReadyToRun/JitInterface/CorInfoImpl.ReadyToRun.cs index 4d07cd8..fbfd523 100644 --- a/src/coreclr/tools/aot/ILCompiler.ReadyToRun/JitInterface/CorInfoImpl.ReadyToRun.cs +++ b/src/coreclr/tools/aot/ILCompiler.ReadyToRun/JitInterface/CorInfoImpl.ReadyToRun.cs @@ -1629,7 +1629,7 @@ namespace Internal.JitInterface // This formula roughly corresponds to CoreCLR CEEInfo::resolveToken when calling GetMethodDescFromMethodSpec // (that always winds up by calling FindOrCreateAssociatedMethodDesc) at - // https://github.com/dotnet/coreclr/blob/57a6eb69b3d6005962ad2ae48db18dff268aff56/src/vm/jitinterface.cpp#L1141 + // https://github.com/dotnet/runtime/blob/17154bd7b8f21d6d8d6fca71b89d7dcb705ec32b/src/coreclr/vm/jitinterface.cpp#L1054 // Its basic meaning is that shared generic methods always need instantiating // stubs as the shared generic code needs the method dictionary parameter that cannot // be provided by other means. @@ -1710,7 +1710,7 @@ namespace Internal.JitInterface // This check for introducing an instantiation stub comes from the logic in // MethodTable::TryResolveConstraintMethodApprox at - // https://github.com/dotnet/coreclr/blob/57a6eb69b3d6005962ad2ae48db18dff268aff56/src/vm/methodtable.cpp#L10062 + // https://github.com/dotnet/runtime/blob/17154bd7b8f21d6d8d6fca71b89d7dcb705ec32b/src/coreclr/vm/methodtable.cpp#L8628 // Its meaning is that, for direct method calls on value types, instantiating // stubs are always needed in the presence of generic arguments as the generic // dictionary cannot be passed through "this->method table". diff --git a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Amd64/GcInfo.cs b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Amd64/GcInfo.cs index 58b7df9..52da7f3 100644 --- a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Amd64/GcInfo.cs +++ b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Amd64/GcInfo.cs @@ -13,7 +13,7 @@ namespace ILCompiler.Reflection.ReadyToRun.Amd64 public class GcInfo : BaseGcInfo { /// - /// based on src/inc/gcinfodecoder.h GcInfoHeaderFlags + /// based on src/inc/gcinfodecoder.h GcInfoHeaderFlags /// private enum GcInfoHeaderFlags { @@ -84,7 +84,7 @@ namespace ILCompiler.Reflection.ReadyToRun.Amd64 public GcInfo() { } /// - /// based on GcInfoDecoder::GcInfoDecoder + /// based on GcInfoDecoder::GcInfoDecoder /// public GcInfo(byte[] image, int offset, Machine machine, ushort majorVersion) { @@ -305,7 +305,7 @@ namespace ILCompiler.Reflection.ReadyToRun.Amd64 } /// - /// based on GcInfoDecoder::GcInfoDecoder + /// based on GcInfoDecoder::GcInfoDecoder /// private void ParseHeaderFlags(byte[] image, ref int bitOffset) { @@ -347,7 +347,7 @@ namespace ILCompiler.Reflection.ReadyToRun.Amd64 } /// - /// based on beginning of GcInfoDecoder::EnumerateLiveSlots + /// based on beginning of GcInfoDecoder::EnumerateLiveSlots /// private List EnumerateInterruptibleRanges(byte[] image, int interruptibleRangeDelta1EncBase, int interruptibleRangeDelta2EncBase, ref int bitOffset) { @@ -484,7 +484,7 @@ namespace ILCompiler.Reflection.ReadyToRun.Amd64 } /// - /// based on end of GcInfoDecoder::EnumerateLiveSlots and GcInfoEncoder::Build + /// based on end of GcInfoDecoder::EnumerateLiveSlots and GcInfoEncoder::Build /// private Dictionary> GetTransitions(byte[] image, ref int bitOffset) { diff --git a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Amd64/GcSlotTable.cs b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Amd64/GcSlotTable.cs index 45d1ebd..153b19d 100644 --- a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Amd64/GcSlotTable.cs +++ b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Amd64/GcSlotTable.cs @@ -96,7 +96,7 @@ namespace ILCompiler.Reflection.ReadyToRun.Amd64 public GcSlotTable() { } /// - /// based on GcSlotDecoder::DecodeSlotTable + /// based on GcSlotDecoder::DecodeSlotTable /// public GcSlotTable(byte[] image, Machine machine, GcInfoTypes gcInfoTypes, ref int bitOffset) { diff --git a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Amd64/Registers.cs b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Amd64/Registers.cs index 9a7a6c0..3107a67 100644 --- a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Amd64/Registers.cs +++ b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Amd64/Registers.cs @@ -8,7 +8,7 @@ using System.Text; namespace ILCompiler.Reflection.ReadyToRun.Amd64 { /// - /// based on src\gcdump\gcdumpnonx86.cpp GetRegName + /// based on src\gcdump\gcdumpnonx86.cpp GetRegName /// public enum Registers { diff --git a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Amd64/UnwindInfo.cs b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Amd64/UnwindInfo.cs index b4338ff..8259a4c 100644 --- a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Amd64/UnwindInfo.cs +++ b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Amd64/UnwindInfo.cs @@ -8,7 +8,7 @@ using System.Text; namespace ILCompiler.Reflection.ReadyToRun.Amd64 { /// - /// based on src\inc\win64unwind.h _UNWIND_OP_CODES + /// based on src\inc\win64unwind.h _UNWIND_OP_CODES /// public enum UnwindOpCodes { @@ -27,7 +27,7 @@ namespace ILCompiler.Reflection.ReadyToRun.Amd64 } /// - /// based on src\inc\win64unwind.h _UNWIND_OP_CODES + /// based on src\inc\win64unwind.h _UNWIND_OP_CODES /// public enum UnwindFlags { @@ -38,7 +38,7 @@ namespace ILCompiler.Reflection.ReadyToRun.Amd64 } /// - /// based on src\inc\win64unwind.h _UNWIND_CODE + /// based on src\inc\win64unwind.h _UNWIND_CODE /// public class UnwindCode { @@ -59,7 +59,7 @@ namespace ILCompiler.Reflection.ReadyToRun.Amd64 public UnwindCode() { } /// - /// Unwinde code parsing is based on src\jit\unwindamd64.cpp DumpUnwindInfo + /// Unwinde code parsing is based on src\jit\unwindamd64.cpp DumpUnwindInfo /// public UnwindCode(byte[] image, ref int frameOffset, ref int offset) { @@ -150,7 +150,7 @@ namespace ILCompiler.Reflection.ReadyToRun.Amd64 } /// - /// based on src\inc\win64unwind.h _UNWIND_INFO + /// based on src\inc\win64unwind.h _UNWIND_INFO /// public class UnwindInfo : BaseUnwindInfo { diff --git a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Arm/Registers.cs b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Arm/Registers.cs index acde1f9..9a29a78 100644 --- a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Arm/Registers.cs +++ b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Arm/Registers.cs @@ -8,7 +8,7 @@ using System.Text; namespace ILCompiler.Reflection.ReadyToRun.Arm { /// - /// based on src/jit/unwindarm.cpp mapRegNumToDwarfReg + /// based on src/jit/unwindarm.cpp mapRegNumToDwarfReg /// public enum Registers { diff --git a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Arm/UnwindInfo.cs b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Arm/UnwindInfo.cs index 4398f2c..5a7d919 100644 --- a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Arm/UnwindInfo.cs +++ b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Arm/UnwindInfo.cs @@ -56,7 +56,7 @@ namespace ILCompiler.Reflection.ReadyToRun.Arm } /// - /// based on src/jit/unwindarm.cpp DumpUnwindInfo + /// based on src/jit/unwindarm.cpp DumpUnwindInfo /// public class UnwindInfo : BaseUnwindInfo { diff --git a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Arm64/UnwindInfo.cs b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Arm64/UnwindInfo.cs index cfbc748..c44e7c8 100644 --- a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Arm64/UnwindInfo.cs +++ b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/Arm64/UnwindInfo.cs @@ -57,7 +57,7 @@ namespace ILCompiler.Reflection.ReadyToRun.Arm64 } /// - /// based on src/jit/unwindarm.cpp DumpUnwindInfo + /// based on src/jit/unwindarm.cpp DumpUnwindInfo /// public class UnwindInfo : BaseUnwindInfo { diff --git a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/DebugInfo.cs b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/DebugInfo.cs index 256cb68..c619198 100644 --- a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/DebugInfo.cs +++ b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/DebugInfo.cs @@ -12,7 +12,7 @@ namespace ILCompiler.Reflection.ReadyToRun { /// /// Represents the debug information for a single method in the ready-to-run image. - /// See src\inc\cordebuginfo.h for + /// See src\inc\cordebuginfo.h for /// the fundamental types this is based on. /// public class DebugInfo diff --git a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/EHInfo.cs b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/EHInfo.cs index ccb3e0d..841da46 100644 --- a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/EHInfo.cs +++ b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/EHInfo.cs @@ -33,7 +33,7 @@ namespace ILCompiler.Reflection.ReadyToRun /// /// This class represents a single exception handling clause. It basically corresponds /// to IMAGE_COR_ILMETHOD_SECT_EH_CLAUSE_FAT in - /// src\inc\corhdr.h. + /// src\inc\corhdr.h. /// public class EHClause { diff --git a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/GCInfoTypes.cs b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/GCInfoTypes.cs index 65a6908..38e85a7 100644 --- a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/GCInfoTypes.cs +++ b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/GCInfoTypes.cs @@ -8,7 +8,7 @@ using System.Text; namespace ILCompiler.Reflection.ReadyToRun { /// - /// based on src\inc\gcinfotypes.h infoHdrAdjustConstants + /// based on src\inc\gcinfotypes.h infoHdrAdjustConstants /// enum InfoHdrAdjustConstants { @@ -26,7 +26,7 @@ namespace ILCompiler.Reflection.ReadyToRun /// /// Enum to define codes that are used to incrementally adjust the InfoHdr structure. - /// based on src\inc\gcinfotypes.h infoHdrAdjustConstants + /// based on src\inc\gcinfotypes.h infoHdrAdjustConstants /// enum InfoHdrAdjust { @@ -68,7 +68,7 @@ namespace ILCompiler.Reflection.ReadyToRun }; /// - /// based on macros defined in src\inc\gcinfotypes.h + /// based on macros defined in src\inc\gcinfotypes.h /// public class GcInfoTypes { diff --git a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/NativeArray.cs b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/NativeArray.cs index 31b6ab6..7a90081 100644 --- a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/NativeArray.cs +++ b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/NativeArray.cs @@ -6,7 +6,7 @@ using System.Text; namespace ILCompiler.Reflection.ReadyToRun { /// - /// based on NativeFormat::NativeArray + /// based on NativeFormat::NativeArray /// public class NativeArray { diff --git a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/NativeHashtable.cs b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/NativeHashtable.cs index 6c53659..efeeaf1 100644 --- a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/NativeHashtable.cs +++ b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/NativeHashtable.cs @@ -7,7 +7,7 @@ using System.Text; namespace ILCompiler.Reflection.ReadyToRun { /// - /// based on NativeFormat::NativeParser + /// based on NativeFormat::NativeParser /// public struct NativeParser { @@ -80,7 +80,7 @@ namespace ILCompiler.Reflection.ReadyToRun } /// - /// based on NativeFormat::NativeHashtable + /// based on NativeFormat::NativeHashtable /// public struct NativeHashtable { @@ -241,7 +241,7 @@ namespace ILCompiler.Reflection.ReadyToRun } /// - /// based on NativeFormat::NativeHashtable + /// based on NativeFormat::NativeHashtable /// public struct NativeCuckooFilter { diff --git a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/NativeReader.cs b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/NativeReader.cs index 50c5cf3..2805a24 100644 --- a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/NativeReader.cs +++ b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/NativeReader.cs @@ -128,7 +128,7 @@ namespace ILCompiler.Reflection.ReadyToRun // /// Decode variable length numbers - /// based on src\inc\gcinfodecoder.h DecodeVarLengthUnsigned + /// based on src\inc\gcinfodecoder.h DecodeVarLengthUnsigned /// /// PE image /// Number of bits to read @@ -153,7 +153,7 @@ namespace ILCompiler.Reflection.ReadyToRun } // - /// based on src\inc\gcinfodecoder.h DecodeVarLengthSigned + /// based on src\inc\gcinfodecoder.h DecodeVarLengthSigned /// public static int DecodeVarLengthSigned(byte[] image, int len, ref int bitOffset) { @@ -175,7 +175,7 @@ namespace ILCompiler.Reflection.ReadyToRun } // - /// based on src\vm\nativeformatreader.h DecodeUnsigned + /// based on src\vm\nativeformatreader.h DecodeUnsigned /// public static uint DecodeUnsigned(byte[] image, uint offset, ref uint pValue) { @@ -234,7 +234,7 @@ namespace ILCompiler.Reflection.ReadyToRun } // - /// based on src\vm\nativeformatreader.h DecodeSigned + /// based on src\vm\nativeformatreader.h DecodeSigned /// public static uint DecodeSigned(byte[] image, uint offset, ref int pValue) { @@ -320,7 +320,7 @@ namespace ILCompiler.Reflection.ReadyToRun } /// - /// based on src\inc\gcdecoder.cpp decodeUnsigned + /// based on src\inc\gcdecoder.cpp decodeUnsigned /// public static uint DecodeUnsignedGc(byte[] image, ref int start) { @@ -338,7 +338,7 @@ namespace ILCompiler.Reflection.ReadyToRun } /// - /// based on src\inc\gcdecoder.cpp decodeSigned + /// based on src\inc\gcdecoder.cpp decodeSigned /// public static int DecodeSignedGc(byte[] image, ref int start) { @@ -360,7 +360,7 @@ namespace ILCompiler.Reflection.ReadyToRun } /// - /// based on src\inc\gcdecoder.cpp decodeUDelta + /// based on src\inc\gcdecoder.cpp decodeUDelta /// public static uint DecodeUDelta(byte[] image, ref int start, uint lastValue) { diff --git a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunHeader.cs b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunHeader.cs index 8d97ddd..173ece1 100644 --- a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunHeader.cs +++ b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunHeader.cs @@ -88,7 +88,7 @@ namespace ILCompiler.Reflection.ReadyToRun /// - /// based on src/inc/readytorun.h READYTORUN_HEADER + /// based on src/inc/readytorun.h READYTORUN_HEADER /// public class ReadyToRunHeader : ReadyToRunCoreHeader { diff --git a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunImportSection.cs b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunImportSection.cs index 084c0d0..ba64088 100644 --- a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunImportSection.cs +++ b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunImportSection.cs @@ -10,7 +10,7 @@ using Internal.ReadyToRunConstants; namespace ILCompiler.Reflection.ReadyToRun { /// - /// based on src/inc/readytorun.h READYTORUN_IMPORT_SECTION + /// based on src/inc/readytorun.h READYTORUN_IMPORT_SECTION /// public struct ReadyToRunImportSection { diff --git a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunReader.cs b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunReader.cs index 449f143..81cb1e3 100644 --- a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunReader.cs +++ b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunReader.cs @@ -21,7 +21,7 @@ using Debug = System.Diagnostics.Debug; namespace ILCompiler.Reflection.ReadyToRun { /// - /// based on src/inc/pedecoder.h IMAGE_FILE_MACHINE_NATIVE_OS_OVERRIDE + /// based on src/inc/pedecoder.h IMAGE_FILE_MACHINE_NATIVE_OS_OVERRIDE /// public enum OperatingSystem { @@ -1388,7 +1388,7 @@ namespace ILCompiler.Reflection.ReadyToRun /// /// Reads the method entrypoint from the offset. Used for non-generic methods - /// based on NativeImageDumper::DumpReadyToRunMethods + /// based on NativeImageDumper::DumpReadyToRunMethods /// private void GetRuntimeFunctionIndexFromOffset(int offset, out int runtimeFunctionIndex, out int? fixupOffset) { diff --git a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunSignature.cs b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunSignature.cs index ab88c0c..2d123c3 100644 --- a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunSignature.cs +++ b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunSignature.cs @@ -544,7 +544,7 @@ namespace ILCompiler.Reflection.ReadyToRun /// /// Read a single unsigned 32-bit in from the signature stream. Adapted from CorSigUncompressData, - /// https://github.com/dotnet/coreclr/blob/master/src/inc/cor.h. + /// https://github.com/dotnet/runtime/blob/main/src/coreclr/inc/cor.h. /// /// public uint ReadUInt() @@ -574,7 +574,7 @@ namespace ILCompiler.Reflection.ReadyToRun /// /// Read a signed integer from the signature stream. Signed integer is basically encoded /// as an unsigned integer after converting it to the unsigned number 2 * abs(x) + (x >= 0 ? 0 : 1). - /// Adapted from CorSigUncompressSignedInt, https://github.com/dotnet/coreclr/blob/master/src/inc/cor.h. + /// Adapted from CorSigUncompressSignedInt, https://github.com/dotnet/runtime/blob/main/src/coreclr/inc/cor.h. /// public int ReadInt() { @@ -619,7 +619,7 @@ namespace ILCompiler.Reflection.ReadyToRun /// /// Read a single element type from the signature stream. Adapted from CorSigUncompressElementType, - /// https://github.com/dotnet/coreclr/blob/master/src/inc/cor.h. + /// https://github.com/dotnet/runtime/blob/main/src/coreclr/inc/cor.h. /// /// public CorElementType ReadElementType() diff --git a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/x86/CallPattern.cs b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/x86/CallPattern.cs index ed8c3f3..0fb377e 100644 --- a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/x86/CallPattern.cs +++ b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/x86/CallPattern.cs @@ -11,7 +11,7 @@ namespace ILCompiler.Reflection.ReadyToRun.x86 { /// - /// based on src\inc\gcdecoder.cpp decodeCallPattern + /// based on src\inc\gcdecoder.cpp decodeCallPattern /// public static void DecodeCallPattern(uint pattern, out uint argCnt, out uint regMask, out uint argMask, out uint codeDelta) { @@ -24,12 +24,12 @@ namespace ILCompiler.Reflection.ReadyToRun.x86 } /// - /// based on src\inc\gcdecoder.cpp callCommonDelta + /// based on src\inc\gcdecoder.cpp callCommonDelta /// public static uint[] callCommonDelta = { 6, 8, 10, 12 }; /// - /// based on src\inc\gcdecoder.cpp callPatternTable + /// based on src\inc\gcdecoder.cpp callPatternTable /// private static uint[] callPatternTable = { diff --git a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/x86/GcInfo.cs b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/x86/GcInfo.cs index 8981287..197fcfb 100644 --- a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/x86/GcInfo.cs +++ b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/x86/GcInfo.cs @@ -18,7 +18,7 @@ namespace ILCompiler.Reflection.ReadyToRun.x86 public GcInfo() { } /// - /// based on GCDump::DumpGCTable + /// based on GCDump::DumpGCTable /// public GcInfo(byte[] image, int offset, Machine machine, ushort majorVersion) { @@ -95,7 +95,7 @@ namespace ILCompiler.Reflection.ReadyToRun.x86 } /// - /// based on GCDump::DumpGCTable + /// based on GCDump::DumpGCTable /// private void GetTransitionsFullyInterruptible(byte[] image, ref int offset) { @@ -197,7 +197,7 @@ namespace ILCompiler.Reflection.ReadyToRun.x86 } /// - /// based on GCDump::DumpGCTable + /// based on GCDump::DumpGCTable /// private void GetTransitionsEbpFrame(byte[] image, ref int offset) { @@ -340,7 +340,7 @@ namespace ILCompiler.Reflection.ReadyToRun.x86 } /// - /// based on GCDump::DumpGCTable + /// based on GCDump::DumpGCTable /// private void SaveCallTransition(byte[] image, ref int offset, uint val, uint curOffs, uint callRegMask, bool callPndTab, uint callPndTabCnt, uint callPndMask, uint lastSkip, ref uint imask) { diff --git a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/x86/GcSlotTable.cs b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/x86/GcSlotTable.cs index daae325..3c670f7 100644 --- a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/x86/GcSlotTable.cs +++ b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/x86/GcSlotTable.cs @@ -122,7 +122,7 @@ namespace ILCompiler.Reflection.ReadyToRun.x86 } /// - /// based on GCDump::DumpGCTable + /// based on GCDump::DumpGCTable /// private void DecodeUntracked(byte[] image, InfoHdrSmall header, ref int offset) { @@ -163,7 +163,7 @@ namespace ILCompiler.Reflection.ReadyToRun.x86 } /// - /// based on GCDump::DumpGCTable + /// based on GCDump::DumpGCTable /// private void DecodeFrameVariableLifetimeTable(byte[] image, InfoHdrSmall header, ref int offset) { diff --git a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/x86/InfoHdr.cs b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/x86/InfoHdr.cs index e100a42..14148a9 100644 --- a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/x86/InfoHdr.cs +++ b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/x86/InfoHdr.cs @@ -8,7 +8,7 @@ using System.Text; namespace ILCompiler.Reflection.ReadyToRun.x86 { /// - /// based on src\inc\gcinfotypes.h InfoHdrSmall + /// based on src\inc\gcinfotypes.h InfoHdrSmall /// public struct InfoHdrSmall { @@ -161,7 +161,7 @@ namespace ILCompiler.Reflection.ReadyToRun.x86 private const uint YES = HAS_VARPTR; /// - /// based on src\inc\gcinfotypes.h GetInfoHdr + /// based on src\inc\gcinfotypes.h GetInfoHdr /// public static InfoHdrSmall GetInfoHdr(byte encoding) { @@ -170,7 +170,7 @@ namespace ILCompiler.Reflection.ReadyToRun.x86 /// /// Initialize the GcInfo header - /// based on src\inc\gcdecoder.cpp DecodeHeader and GCDump::DumpInfoHdr + /// based on src\inc\gcdecoder.cpp DecodeHeader and GCDump::DumpInfoHdr /// public static InfoHdrSmall DecodeHeader(byte[] image, ref int offset, int codeLength) { @@ -378,7 +378,7 @@ namespace ILCompiler.Reflection.ReadyToRun.x86 } /// - /// based on src\inc\gcdecoder.cpp infoHdrShortcut + /// based on src\inc\gcdecoder.cpp infoHdrShortcut /// private static InfoHdrSmall[] _infoHdrShortcut = { new InfoHdrSmall( 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ), // 1139 00 diff --git a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/x86/Registers.cs b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/x86/Registers.cs index f94e7da..3af277c 100644 --- a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/x86/Registers.cs +++ b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/x86/Registers.cs @@ -8,7 +8,7 @@ using System.Text; namespace ILCompiler.Reflection.ReadyToRun.x86 { /// - /// based on src\gcdump\i386\gcdumpx86.cpp RegName + /// based on src\gcdump\i386\gcdumpx86.cpp RegName /// public enum Registers { @@ -23,7 +23,7 @@ namespace ILCompiler.Reflection.ReadyToRun.x86 }; /// - /// based on src\gcdump\i386\gcdumpx86.cpp CalleeSavedRegName + /// based on src\gcdump\i386\gcdumpx86.cpp CalleeSavedRegName /// public enum CalleeSavedRegisters { diff --git a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/x86/UnwindInfo.cs b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/x86/UnwindInfo.cs index a40afd1..6c699ee 100644 --- a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/x86/UnwindInfo.cs +++ b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/x86/UnwindInfo.cs @@ -6,7 +6,7 @@ using System.Text; namespace ILCompiler.Reflection.ReadyToRun.x86 { /// - /// based on src\inc\win64unwind.h _UNWIND_INFO + /// based on src\inc\win64unwind.h _UNWIND_INFO /// public class UnwindInfo : BaseUnwindInfo { diff --git a/src/installer/managed/Microsoft.NET.HostModel/Microsoft.NET.HostModel.csproj b/src/installer/managed/Microsoft.NET.HostModel/Microsoft.NET.HostModel.csproj index 8369b37..aa9b125 100644 --- a/src/installer/managed/Microsoft.NET.HostModel/Microsoft.NET.HostModel.csproj +++ b/src/installer/managed/Microsoft.NET.HostModel/Microsoft.NET.HostModel.csproj @@ -9,7 +9,7 @@ true true true - + $(NoWarn);CS1591 true diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Host.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Host.sfxproj index 864b76f..f0252b1 100644 --- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Host.sfxproj +++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Host.sfxproj @@ -12,7 +12,7 @@ @@ -68,7 +68,7 @@ user's machine before use. We have a signing validation exception for Visual Studio insertion's signature validation. However, the exceptions are based on the file IDs, which are not stable because product version is in the path. We need to force these IDs to be stable by modifying - the WiX source file. https://github.com/dotnet/core-setup/issues/7327 + the WiX source file. https://github.com/dotnet/runtime/issues/3694 --> diff --git a/src/installer/tests/HostActivation.Tests/PortableAppActivation.cs b/src/installer/tests/HostActivation.Tests/PortableAppActivation.cs index 58660a3..ca97f1f 100644 --- a/src/installer/tests/HostActivation.Tests/PortableAppActivation.cs +++ b/src/installer/tests/HostActivation.Tests/PortableAppActivation.cs @@ -82,7 +82,7 @@ namespace Microsoft.DotNet.CoreSetup.Test.HostActivation .And.HaveStdOutContaining("Hello World"); } - // https://github.com/dotnet/core-setup/issues/6914 + // https://github.com/dotnet/runtime/issues/3654 [Fact(Skip = "The 3.0 SDK copies NuGet references to the output by default now for executable projects, so this no longer fails.")] public void Muxer_Exec_activation_of_Build_Output_Portable_DLL_with_DepsJson_Local_and_RuntimeConfig_Remote_Without_AdditionalProbingPath_Fails() { @@ -101,7 +101,7 @@ namespace Microsoft.DotNet.CoreSetup.Test.HostActivation .Should().Fail(); } - // https://github.com/dotnet/core-setup/issues/6914 + // https://github.com/dotnet/runtime/issues/3654 [Fact(Skip = "The 3.0 SDK copies NuGet references to the output by default now for executable projects, so this no longer fails.")] public void Muxer_Exec_activation_of_Build_Output_Portable_DLL_with_DepsJson_Local_and_RuntimeConfig_Remote_With_AdditionalProbingPath_Succeeds() { @@ -126,7 +126,7 @@ namespace Microsoft.DotNet.CoreSetup.Test.HostActivation .And.HaveStdOutContaining("Hello World"); } - // https://github.com/dotnet/core-setup/issues/6914 + // https://github.com/dotnet/runtime/issues/3654 [Fact(Skip = "The 3.0 SDK copies NuGet references to the output by default now for executable projects, so the additional probing path is no longer needed.")] public void Muxer_Activation_With_Templated_AdditionalProbingPath_Succeeds() { diff --git a/src/installer/tests/Microsoft.DotNet.CoreSetup.Packaging.Tests/NETCoreTests.cs b/src/installer/tests/Microsoft.DotNet.CoreSetup.Packaging.Tests/NETCoreTests.cs index 65d19d7..cda507f 100644 --- a/src/installer/tests/Microsoft.DotNet.CoreSetup.Packaging.Tests/NETCoreTests.cs +++ b/src/installer/tests/Microsoft.DotNet.CoreSetup.Packaging.Tests/NETCoreTests.cs @@ -18,7 +18,7 @@ namespace Microsoft.DotNet.CoreSetup.Packaging.Tests "Microsoft.NETCore.App.Ref")) { // Allow no targeting pack in case this is a servicing build. - // This condition should be tightened: https://github.com/dotnet/core-setup/issues/8830 + // This condition should be tightened: https://github.com/dotnet/runtime/issues/3836 if (tester == null) { return; diff --git a/src/libraries/Microsoft.Extensions.DependencyModel/src/DependencyContextWriter.cs b/src/libraries/Microsoft.Extensions.DependencyModel/src/DependencyContextWriter.cs index a8c9471..b20895c 100644 --- a/src/libraries/Microsoft.Extensions.DependencyModel/src/DependencyContextWriter.cs +++ b/src/libraries/Microsoft.Extensions.DependencyModel/src/DependencyContextWriter.cs @@ -18,7 +18,7 @@ namespace Microsoft.Extensions.DependencyModel ThrowHelper.ThrowIfNull(context); ThrowHelper.ThrowIfNull(stream); - // Custom encoder is required to fix https://github.com/dotnet/core-setup/issues/7137 + // Custom encoder is required to fix https://github.com/dotnet/runtime/issues/3678 // Since the JSON is only written to a file that is read by the SDK (and not transmitted over the wire), // it is safe to skip escaping certain characters in this scenario // (that would otherwise be escaped, by default, as part of defense-in-depth, such as +). diff --git a/src/libraries/Microsoft.Extensions.DependencyModel/tests/DependencyContextJsonWriterTests.cs b/src/libraries/Microsoft.Extensions.DependencyModel/tests/DependencyContextJsonWriterTests.cs index 48f8dee..5612053 100644 --- a/src/libraries/Microsoft.Extensions.DependencyModel/tests/DependencyContextJsonWriterTests.cs +++ b/src/libraries/Microsoft.Extensions.DependencyModel/tests/DependencyContextJsonWriterTests.cs @@ -188,7 +188,7 @@ namespace Microsoft.Extensions.DependencyModel.Tests "package", "PackageName", "1.2.3", - "HASH+/==", // verify that '+' and '/' is not getting escaped to workaround bug in older xunit https://github.com/dotnet/core-setup/issues/7137 + "HASH+/==", // verify that '+' and '/' is not getting escaped to workaround bug in older xunit https://github.com/dotnet/runtime/issues/3678 new [] {"Banana.dll"}, new [] { new Dependency("Fruits.Abstract.dll","2.0.0") diff --git a/src/libraries/System.Collections/tests/Generic/Dictionary/Dictionary.Generic.Tests.ConcurrentAccessDetection.cs b/src/libraries/System.Collections/tests/Generic/Dictionary/Dictionary.Generic.Tests.ConcurrentAccessDetection.cs index 452ab13..2d5985f 100644 --- a/src/libraries/System.Collections/tests/Generic/Dictionary/Dictionary.Generic.Tests.ConcurrentAccessDetection.cs +++ b/src/libraries/System.Collections/tests/Generic/Dictionary/Dictionary.Generic.Tests.ConcurrentAccessDetection.cs @@ -84,7 +84,7 @@ namespace Generic.Dictionary } } - // We use a custom type instead of string because string use optimized comparer https://github.com/dotnet/coreclr/blob/master/src/System.Private.CoreLib/shared/System/Collections/Generic/Dictionary.cs#L79 + // We use a custom type instead of string because string use optimized comparer https://github.com/dotnet/runtime/blob/2594ec1bfb3d8a82815691a80cc4a23b5a281b2e/src/libraries/System.Private.CoreLib/src/System/Collections/Generic/Dictionary.cs#L44 // We want to test case with _comparer = null public class DummyRefType { diff --git a/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Activity.cs b/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Activity.cs index d3e54c3..0993d13 100644 --- a/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Activity.cs +++ b/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Activity.cs @@ -208,7 +208,7 @@ namespace System.Diagnostics /// is called by appending suffix to Parent.Id /// or ParentId; Activity has no Id until it started /// - /// See for more details + /// See for more details /// /// /// Id looks like '|a000b421-5d183ab6.1.8e2d4c28_1.': @@ -246,7 +246,7 @@ namespace System.Diagnostics /// from the parent). This accessor fetches the parent ID if it exists at all. /// Note this can be null if this is a root Activity (it has no parent) /// - /// See for more details + /// See for more details /// public string? ParentId { @@ -279,7 +279,7 @@ namespace System.Diagnostics /// Root Id is substring from Activity.Id (or ParentId) between '|' (or beginning) and first '.'. /// Filtering by root Id allows to find all Activities involved in operation processing. /// RootId may be null if Activity has neither ParentId nor Id. - /// See for more details + /// See for more details /// public string? RootId { @@ -1757,7 +1757,7 @@ namespace System.Diagnostics public enum ActivityIdFormat { Unknown = 0, // ID format is not known. - Hierarchical = 1, //|XXXX.XX.X_X ... see https://github.com/dotnet/corefx/blob/master/src/System.Diagnostics.DiagnosticSource/src/ActivityUserGuide.md#id-format + Hierarchical = 1, //|XXXX.XX.X_X ... see https://github.com/dotnet/runtime/blob/main/src/libraries/System.Diagnostics.DiagnosticSource/src/ActivityUserGuide.md#id-format W3C = 2, // 00-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-XXXXXXXXXXXXXXXX-XX see https://w3c.github.io/trace-context/ }; diff --git a/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/DiagnosticListener.cs b/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/DiagnosticListener.cs index d7d69c4..75a7116 100644 --- a/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/DiagnosticListener.cs +++ b/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/DiagnosticListener.cs @@ -23,7 +23,7 @@ namespace System.Diagnostics /// will fire for every live DiagnosticListener in the appdomain (past or present). /// /// Please See the DiagnosticSource Users Guide - /// https://github.com/dotnet/corefx/blob/master/src/System.Diagnostics.DiagnosticSource/src/DiagnosticSourceUsersGuide.md + /// https://github.com/dotnet/runtime/blob/main/src/libraries/System.Diagnostics.DiagnosticSource/src/DiagnosticSourceUsersGuide.md /// for instructions on its use. /// public partial class DiagnosticListener : DiagnosticSource, IObservable>, IDisposable diff --git a/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/DiagnosticSource.cs b/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/DiagnosticSource.cs index c5443a2..47fad27 100644 --- a/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/DiagnosticSource.cs +++ b/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/DiagnosticSource.cs @@ -11,7 +11,7 @@ namespace System.Diagnostics /// (which can also write object), but is intended to log complex objects that can't be serialized. /// /// Please See the DiagnosticSource Users Guide - /// https://github.com/dotnet/corefx/blob/master/src/System.Diagnostics.DiagnosticSource/src/DiagnosticSourceUsersGuide.md + /// https://github.com/dotnet/runtime/blob/main/src/libraries/System.Diagnostics.DiagnosticSource/src/DiagnosticSourceUsersGuide.md /// for instructions on its use. /// public abstract partial class DiagnosticSource diff --git a/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventCounter.cs b/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventCounter.cs index 1a46384..2838cfc 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventCounter.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventCounter.cs @@ -10,7 +10,7 @@ namespace System.Diagnostics.Tracing /// /// Provides the ability to collect statistics through EventSource /// - /// See https://github.com/dotnet/corefx/blob/master/src/System.Diagnostics.Tracing/documentation/EventCounterTutorial.md + /// See https://github.com/dotnet/runtime/blob/main/src/libraries/System.Diagnostics.Tracing/documentation/EventCounterTutorial.md /// for a tutorial guide. /// /// See https://github.com/dotnet/runtime/blob/main/src/libraries/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestEventCounter.cs diff --git a/src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/Ecma335/MetadataBuilder.Heaps.cs b/src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/Ecma335/MetadataBuilder.Heaps.cs index 89e39af..a58bf9f 100644 --- a/src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/Ecma335/MetadataBuilder.Heaps.cs +++ b/src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/Ecma335/MetadataBuilder.Heaps.cs @@ -298,7 +298,7 @@ namespace System.Reflection.Metadata.Ecma335 /// Document name. /// /// Handle to the added or existing document name blob - /// (see https://github.com/dotnet/corefx/blob/master/src/System.Reflection.Metadata/specs/PortablePdb-Metadata.md#DocumentNameBlob). + /// (see https://github.com/dotnet/runtime/blob/main/docs/design/specs/PortablePdb-Metadata.md#DocumentNameBlob). /// /// is null. public BlobHandle GetOrAddDocumentName(string value) diff --git a/src/libraries/System.Reflection.MetadataLoadContext/src/System/Reflection/TypeLoading/CustomAttributes/Ecma/EcmaCustomAttributeHelpers.cs b/src/libraries/System.Reflection.MetadataLoadContext/src/System/Reflection/TypeLoading/CustomAttributes/Ecma/EcmaCustomAttributeHelpers.cs index c5acc03..b3ab9d6 100644 --- a/src/libraries/System.Reflection.MetadataLoadContext/src/System/Reflection/TypeLoading/CustomAttributes/Ecma/EcmaCustomAttributeHelpers.cs +++ b/src/libraries/System.Reflection.MetadataLoadContext/src/System/Reflection/TypeLoading/CustomAttributes/Ecma/EcmaCustomAttributeHelpers.cs @@ -172,7 +172,7 @@ namespace System.Reflection.TypeLoading.Ecma // // Logic ported from ParseNativeTypeInfo() // - // https://github.com/dotnet/coreclr/blob/ab9b4511180d1dfde09d1480c29a7bbacf3587dd/src/vm/mlinfo.cpp#L512 + // https://github.com/dotnet/runtime/blob/b908ecf514f32c7ba7d59ecc28fa3fdd64a10a1a/src/coreclr/vm/mlinfo.cpp#L469 // public static MarshalAsAttribute ToMarshalAsAttribute(this BlobHandle blobHandle, EcmaModule module) { diff --git a/src/libraries/System.Text.Json/src/System/Text/Json/Writer/JsonWriterHelper.Transcoding.cs b/src/libraries/System.Text.Json/src/System/Text/Json/Writer/JsonWriterHelper.Transcoding.cs index dcaaea4..71514d7 100644 --- a/src/libraries/System.Text.Json/src/System/Text/Json/Writer/JsonWriterHelper.Transcoding.cs +++ b/src/libraries/System.Text.Json/src/System/Text/Json/Writer/JsonWriterHelper.Transcoding.cs @@ -29,7 +29,7 @@ namespace System.Text.Json { // // - // KEEP THIS IMPLEMENTATION IN SYNC WITH https://github.com/dotnet/coreclr/blob/master/src/System.Private.CoreLib/shared/System/Text/UTF8Encoding.cs#L841 + // KEEP THIS IMPLEMENTATION IN SYNC WITH https://github.com/dotnet/runtime/blob/main/src/libraries/System.Private.CoreLib/src/System/Text/UTF8Encoding.cs#L845 // // fixed (byte* chars = &MemoryMarshal.GetReference(utf16Source)) diff --git a/src/mono/System.Private.CoreLib/src/System/Reflection/RuntimePropertyInfo.cs b/src/mono/System.Private.CoreLib/src/System/Reflection/RuntimePropertyInfo.cs index 76f7797..f49a565 100644 --- a/src/mono/System.Private.CoreLib/src/System/Reflection/RuntimePropertyInfo.cs +++ b/src/mono/System.Private.CoreLib/src/System/Reflection/RuntimePropertyInfo.cs @@ -95,7 +95,7 @@ namespace System.Reflection } } - // Copied from https://github.com/dotnet/coreclr/blob/7a24a538cd265993e5864179f51781398c28ecdf/src/System.Private.CoreLib/src/System/RtType.cs#L2022 + // Copied from https://github.com/dotnet/runtime/blob/2594ec1bfb3d8a82815691a80cc4a23b5a281b2e/src/coreclr/System.Private.CoreLib/src/System/RuntimeType.CoreCLR.cs#L2058 private static BindingFlags FilterPreCalculate(bool isPublic, bool isInherited, bool isStatic) { BindingFlags bindingFlags = isPublic ? BindingFlags.Public : BindingFlags.NonPublic; diff --git a/src/mono/mono/metadata/assembly.c b/src/mono/mono/metadata/assembly.c index 289c193..43826b5 100644 --- a/src/mono/mono/metadata/assembly.c +++ b/src/mono/mono/metadata/assembly.c @@ -857,7 +857,7 @@ netcore_load_reference (MonoAssemblyName *aname, MonoAssemblyLoadContext *alc, M } // Looking up corlib resources here can cause an infinite loop - // See: https://github.com/dotnet/coreclr/blob/0a762eb2f3a299489c459da1ddeb69e042008f07/src/vm/appdomain.cpp#L5178-L5239 + // See: https://github.com/dotnet/runtime/blob/753d12facef5aa9d7926e3e284bfb40b7197f016/src/coreclr/vm/appdomain.cpp#L3518-L3572 if (!(strcmp (aname->name, MONO_ASSEMBLY_CORLIB_RESOURCE_NAME) == 0 && is_satellite) && postload) { reference = mono_assembly_invoke_search_hook_internal (alc, requesting, aname, TRUE); if (reference) { diff --git a/src/mono/mono/metadata/debug-mono-ppdb.c b/src/mono/mono/metadata/debug-mono-ppdb.c index f63fea6..b2bee00 100644 --- a/src/mono/mono/metadata/debug-mono-ppdb.c +++ b/src/mono/mono/metadata/debug-mono-ppdb.c @@ -780,7 +780,7 @@ compare_guid (guint8* guid1, guint8* guid2) } // for parent_type see HasCustomDebugInformation table at -// https://github.com/dotnet/corefx/blob/master/src/System.Reflection.Metadata/specs/PortablePdb-Metadata.md +// https://github.com/dotnet/runtime/blob/main/docs/design/specs/PortablePdb-Metadata.md static const char* lookup_custom_debug_information (MonoImage* image, guint32 token, uint8_t parent_type, guint8* guid) { diff --git a/src/mono/mono/metadata/icall.c b/src/mono/mono/metadata/icall.c index 9352653..2fbdb8f 100644 --- a/src/mono/mono/metadata/icall.c +++ b/src/mono/mono/metadata/icall.c @@ -233,7 +233,7 @@ ves_icall_System_Array_SetValueRelaxedImpl (MonoArrayHandle arr, MonoObjectHandl array_set_value_impl (arr, value, pos, FALSE, FALSE, error); } -// Copied from CoreCLR: https://github.com/dotnet/coreclr/blob/d3e39bc2f81e3dbf9e4b96347f62b49d8700336c/src/vm/invokeutil.cpp#L33 +// Copied from CoreCLR: https://github.com/dotnet/runtime/blob/402aa8584ed18792d6bc6ed1869f7c31b38f8139/src/coreclr/vm/invokeutil.cpp#L31 #define PT_Primitive 0x01000000 static const guint32 primitive_conversions [] = { @@ -253,7 +253,7 @@ static const guint32 primitive_conversions [] = { PT_Primitive | 0x2000, // MONO_TYPE_R8 (W = R8) }; -// Copied from CoreCLR: https://github.com/dotnet/coreclr/blob/030a3ea9b8dbeae89c90d34441d4d9a1cf4a7de6/src/vm/invokeutil.h#L176 +// Copied from CoreCLR: https://github.com/dotnet/runtime/blob/402aa8584ed18792d6bc6ed1869f7c31b38f8139/src/coreclr/vm/invokeutil.h#L119 static gboolean can_primitive_widen (MonoTypeEnum src_type, MonoTypeEnum dest_type) { @@ -263,7 +263,7 @@ gboolean can_primitive_widen (MonoTypeEnum src_type, MonoTypeEnum dest_type) return ((1 << dest_type) & primitive_conversions [src_type]) != 0; } -// Copied from CoreCLR: https://github.com/dotnet/coreclr/blob/eafa8648ebee92de1380278b15cd5c2b6ef11218/src/vm/array.cpp#L1406 +// Copied from CoreCLR: https://github.com/dotnet/runtime/blob/402aa8584ed18792d6bc6ed1869f7c31b38f8139/src/coreclr/vm/array.cpp#L1312 static MonoTypeEnum get_normalized_integral_array_element_type (MonoTypeEnum elementType) { diff --git a/src/mono/mono/mini/mini-amd64.c b/src/mono/mono/mini/mini-amd64.c index b11da00..16f6f06 100644 --- a/src/mono/mono/mini/mini-amd64.c +++ b/src/mono/mono/mini/mini-amd64.c @@ -5482,7 +5482,7 @@ mono_arch_output_basic_block (MonoCompile *cfg, MonoBasicBlock *bb) #ifdef TARGET_WIN32 // Redundant REX byte indicates a tailcall to the native unwinder. It means nothing to the processor. - // https://github.com/dotnet/coreclr/blob/966dabb5bb3c4bf1ea885e1e8dc6528e8c64dc4f/src/unwinder/amd64/unwinder_amd64.cpp#L1394 + // https://github.com/dotnet/runtime/blob/384dceb4547d3aa240107dc3fbd4abc4387ced70/src/coreclr/unwinder/amd64/unwinder_amd64.cpp#L1390 // FIXME This should be jmp rip+32 for AOT direct to same assembly. // FIXME This should be jmp [rip+32] for AOT direct to not-same assembly (through data). // FIXME This should be jmp [rip+32] for JIT direct -- patch data instead of code. diff --git a/src/mono/mono/utils/mono-dl.c b/src/mono/mono/utils/mono-dl.c index b6096bd..512ce72 100644 --- a/src/mono/mono/utils/mono-dl.c +++ b/src/mono/mono/utils/mono-dl.c @@ -158,7 +158,7 @@ static const char * fix_libc_name (const char *name) { if (name != NULL && strcmp (name, "libc") == 0) { - // Taken from CoreCLR: https://github.com/dotnet/coreclr/blob/6b0dab793260d36e35d66c82678c63046828d01b/src/pal/src/loader/module.cpp#L568-L576 + // Taken from CoreCLR: https://github.com/dotnet/runtime/blob/732b7434a2ff453048c1647262c00bc8b7652112/src/coreclr/pal/src/loader/module.cpp#L569-L577 #if defined (HOST_DARWIN) return "/usr/lib/libc.dylib"; #elif defined (__FreeBSD__) diff --git a/src/mono/mono/utils/mono-proclib.c b/src/mono/mono/utils/mono-proclib.c index 45b702f..40404b4 100644 --- a/src/mono/mono/utils/mono-proclib.c +++ b/src/mono/mono/utils/mono-proclib.c @@ -145,7 +145,7 @@ mono_cpu_count (void) * [2] https://lists.01.org/pipermail/powertop/2012-September/000433.html * [3] https://android.googlesource.com/platform/libcore/+/750dc634e56c58d1d04f6a138734ac2b772900b5%5E1..750dc634e56c58d1d04f6a138734ac2b772900b5/ * [4] https://bugs.openjdk.java.net/browse/JDK-6515172 - * [5] https://github.com/dotnet/coreclr/blob/7058273693db2555f127ce16e6b0c5b40fb04867/src/pal/src/misc/sysinfo.cpp#L148 + * [5] https://github.com/dotnet/runtime/blob/732b7434a2ff453048c1647262c00bc8b7652112/src/coreclr/pal/src/misc/sysinfo.cpp#L126 */ #if defined (_SC_NPROCESSORS_CONF) && defined (HAVE_SYSCONF) diff --git a/src/mono/mono/utils/mono-time.c b/src/mono/mono/utils/mono-time.c index 9c54cee..6883139 100644 --- a/src/mono/mono/utils/mono-time.c +++ b/src/mono/mono/utils/mono-time.c @@ -114,7 +114,7 @@ MONO_RESTORE_WARNING #include /* Returns the number of milliseconds from boot time: this should be monotonic */ -/* Adapted from CoreCLR: https://github.com/dotnet/coreclr/blob/66d2738ea96fcce753dec1370e79a0c78f7b6adb/src/pal/src/misc/time.cpp */ +/* Adapted from CoreCLR: https://github.com/dotnet/runtime/blob/402aa8584ed18792d6bc6ed1869f7c31b38f8139/src/coreclr/pal/src/misc/time.cpp */ gint64 mono_msec_boottime (void) { diff --git a/src/mono/mono/utils/mono-utils-debug.c b/src/mono/mono/utils/mono-utils-debug.c index 44b4527..d5aae23 100644 --- a/src/mono/mono/utils/mono-utils-debug.c +++ b/src/mono/mono/utils/mono-utils-debug.c @@ -41,7 +41,7 @@ static gboolean mono_is_usermode_native_debugger_present_slow (void) // PAL_IsDebuggerPresent // based closely on with some local cleanup: -// https://github.com/dotnet/coreclr/blob/master/src/pal/src/init/pal.cpp +// https://github.com/dotnet/runtime/blob/main/src/coreclr/pal/src/init/pal.cpp // https://raw.githubusercontent.com/dotnet/coreclr/f1c9dac3e2db2397e01cd2da3e8aaa4f81a80013/src/pal/src/init/pal.cpp { #if defined (__APPLE__) diff --git a/src/native/corehost/hostmisc/longfile.windows.cpp b/src/native/corehost/hostmisc/longfile.windows.cpp index 1022c12..18872a1 100644 --- a/src/native/corehost/hostmisc/longfile.windows.cpp +++ b/src/native/corehost/hostmisc/longfile.windows.cpp @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -//The logic in this file was ported from https://github.com/dotnet/coreclr/blob/54891e0650e69f08832f75a40dc102efc6115d38/src/utilcode/longfilepathwrappers.cpp +//The logic in this file was ported from https://github.com/dotnet/runtime/blob/17154bd7b8f21d6d8d6fca71b89d7dcb705ec32b/src/coreclr/utilcode/longfilepathwrappers.cpp //Please reflect any change here into the above file too! #include "pal.h" #include "trace.h" @@ -33,7 +33,7 @@ bool ShouldNormalizeWorker(const pal::string_t& path) //For longpath names on windows, if the paths are normalized they are always prefixed with //extended syntax, Windows does not do any more normalizations on this string and uses it as is -//So we should ensure that there are NO adjacent DirectorySeparatorChar +//So we should ensure that there are NO adjacent DirectorySeparatorChar bool AssertRepeatingDirSeparator(const pal::string_t& path) { if (path.empty()) diff --git a/src/native/eventpipe/ds-process-protocol.c b/src/native/eventpipe/ds-process-protocol.c index 52c210a..e7cc72d 100644 --- a/src/native/eventpipe/ds-process-protocol.c +++ b/src/native/eventpipe/ds-process-protocol.c @@ -91,7 +91,7 @@ static uint16_t process_info_payload_get_size (DiagnosticsProcessInfoPayload *payload) { - // see IPC spec @ https://github.com/dotnet/diagnostics/blob/master/documentation/design-docs/ipc-protocol.md + // see IPC spec @ https://github.com/dotnet/diagnostics/blob/main/documentation/design-docs/ipc-protocol.md // for definition of serialization format // uint64_t ProcessId; -> 8 bytes @@ -137,7 +137,7 @@ process_info_payload_flatten ( EP_ASSERT (size != NULL); EP_ASSERT (process_info_payload_get_size (process_info) == *size); - // see IPC spec @ https://github.com/dotnet/diagnostics/blob/master/documentation/design-docs/ipc-protocol.md + // see IPC spec @ https://github.com/dotnet/diagnostics/blob/main/documentation/design-docs/ipc-protocol.md // for definition of serialization format bool success = true; @@ -205,7 +205,7 @@ static uint16_t process_info_2_payload_get_size (DiagnosticsProcessInfo2Payload *payload) { - // see IPC spec @ https://github.com/dotnet/diagnostics/blob/master/documentation/design-docs/ipc-protocol.md + // see IPC spec @ https://github.com/dotnet/diagnostics/blob/main/documentation/design-docs/ipc-protocol.md // for definition of serialization format // uint64_t ProcessId; -> 8 bytes @@ -261,7 +261,7 @@ process_info_2_payload_flatten ( EP_ASSERT (size != NULL); EP_ASSERT (process_info_2_payload_get_size (process_info) == *size); - // see IPC spec @ https://github.com/dotnet/diagnostics/blob/master/documentation/design-docs/ipc-protocol.md + // see IPC spec @ https://github.com/dotnet/diagnostics/blob/main/documentation/design-docs/ipc-protocol.md // for definition of serialization format bool success = true; @@ -388,7 +388,7 @@ env_info_payload_flatten ( EP_ASSERT (size != NULL); EP_ASSERT (env_info_payload_get_size (env_info) == *size); - // see IPC spec @ https://github.com/dotnet/diagnostics/blob/master/documentation/design-docs/ipc-protocol.md + // see IPC spec @ https://github.com/dotnet/diagnostics/blob/main/documentation/design-docs/ipc-protocol.md // for definition of serialization format bool success = true; @@ -420,7 +420,7 @@ env_info_stream_env_block ( EP_ASSERT (payload != NULL); EP_ASSERT (stream != NULL); - // see IPC spec @ https://github.com/dotnet/diagnostics/blob/master/documentation/design-docs/ipc-protocol.md + // see IPC spec @ https://github.com/dotnet/diagnostics/blob/main/documentation/design-docs/ipc-protocol.md // for definition of serialization format bool success = true; diff --git a/src/native/eventpipe/ds-process-protocol.h b/src/native/eventpipe/ds-process-protocol.h index 109d2bf..d159dbb 100644 --- a/src/native/eventpipe/ds-process-protocol.h +++ b/src/native/eventpipe/ds-process-protocol.h @@ -119,7 +119,7 @@ struct _DiagnosticsEnvironmentInfoPayload_Internal { #endif // The environment is sent back as an optional continuation stream of data. // It is encoded in the typical length-prefixed array format as defined in - // the Diagnostics IPC Spec: https://github.com/dotnet/diagnostics/blob/master/documentation/design-docs/ipc-protocol.md + // the Diagnostics IPC Spec: https://github.com/dotnet/diagnostics/blob/main/documentation/design-docs/ipc-protocol.md uint32_t incoming_bytes; uint16_t future; ep_rt_env_array_utf16_t env_array; diff --git a/src/tests/JIT/HardwareIntrinsics/X86/General/VectorArgs.cs b/src/tests/JIT/HardwareIntrinsics/X86/General/VectorArgs.cs index 6e8f787..3b231ae 100644 --- a/src/tests/JIT/HardwareIntrinsics/X86/General/VectorArgs.cs +++ b/src/tests/JIT/HardwareIntrinsics/X86/General/VectorArgs.cs @@ -2,8 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // -// This test case is ported from S.N.Vector counterpart -// https://github.com/dotnet/coreclr/blob/master/tests/src/JIT/SIMD/VectorArgs.cs +// This test case is ported from S.N.Vector counterpart +// https://github.com/dotnet/runtime/blob/main/src/tests/JIT/SIMD/VectorUnused.cs using System; using System.Runtime.Intrinsics; diff --git a/src/tests/JIT/HardwareIntrinsics/X86/General/VectorArray.cs b/src/tests/JIT/HardwareIntrinsics/X86/General/VectorArray.cs index fe6dd12..81371bf 100644 --- a/src/tests/JIT/HardwareIntrinsics/X86/General/VectorArray.cs +++ b/src/tests/JIT/HardwareIntrinsics/X86/General/VectorArray.cs @@ -2,8 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // -// This test case is ported from S.N.Vector counterpart -// https://github.com/dotnet/coreclr/blob/master/tests/src/JIT/SIMD/VectorArray.cs +// This test case is ported from S.N.Vector counterpart +// https://github.com/dotnet/runtime/blob/main/src/tests/JIT/SIMD/VectorArray.cs using System; using System.Numerics; diff --git a/src/tests/JIT/HardwareIntrinsics/X86/General/VectorRet.cs b/src/tests/JIT/HardwareIntrinsics/X86/General/VectorRet.cs index 557de16..47a4836 100644 --- a/src/tests/JIT/HardwareIntrinsics/X86/General/VectorRet.cs +++ b/src/tests/JIT/HardwareIntrinsics/X86/General/VectorRet.cs @@ -2,8 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // -// This test case is ported from S.N.Vector counterpart -// https://github.com/dotnet/coreclr/blob/master/tests/src/JIT/SIMD/VectorReturn.cs +// This test case is ported from S.N.Vector counterpart +// https://github.com/dotnet/runtime/blob/main/src/tests/JIT/SIMD/VectorReturn.cs using System; using System.Runtime.Intrinsics; diff --git a/src/tests/JIT/HardwareIntrinsics/X86/General/VectorUnused.cs b/src/tests/JIT/HardwareIntrinsics/X86/General/VectorUnused.cs index 56e2f0c..dbb3b66 100644 --- a/src/tests/JIT/HardwareIntrinsics/X86/General/VectorUnused.cs +++ b/src/tests/JIT/HardwareIntrinsics/X86/General/VectorUnused.cs @@ -2,8 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // -// This test case is ported from S.N.Vector counterpart -// https://github.com/dotnet/coreclr/blob/master/tests/src/JIT/SIMD/VectorUnused.cs +// This test case is ported from S.N.Vector counterpart +// https://github.com/dotnet/runtime/blob/main/src/tests/JIT/SIMD/VectorUnused.cs using System; using System.Runtime.Intrinsics; diff --git a/src/tests/nativeaot/SmokeTests/DynamicGenerics/GitHub21379.cs b/src/tests/nativeaot/SmokeTests/DynamicGenerics/GitHub21379.cs index ca8c990..5976d71 100644 --- a/src/tests/nativeaot/SmokeTests/DynamicGenerics/GitHub21379.cs +++ b/src/tests/nativeaot/SmokeTests/DynamicGenerics/GitHub21379.cs @@ -80,7 +80,7 @@ public class GitHub21379 // Basic: forward SZArray BinarySearch_Array(array, index, length, value, (IComparer)comparer, expected); } - + if (index == 0 && length == array.Length) { if (isDefaultComparer) diff --git a/src/tests/sizeondisk/sodbench/THIRD-PARTY-NOTICES.TXT b/src/tests/sizeondisk/sodbench/THIRD-PARTY-NOTICES.TXT index e387fbf..6e029ee 100644 --- a/src/tests/sizeondisk/sodbench/THIRD-PARTY-NOTICES.TXT +++ b/src/tests/sizeondisk/sodbench/THIRD-PARTY-NOTICES.TXT @@ -22,4 +22,4 @@ Content: https://stackoverflow.com/a/769713 Question author: Bob The Janitor -- https://stackoverflow.com/users/55102/bob-the-janitor Answer author: harp -- https://stackoverflow.com/users/4525/harpo -Use: https://github.com/dotnet/coreclr/blob/a9074bce5e3814db67dbec1c56f477202164d162/tests/src/sizeondisk/sodbench/SoDBench.cs#L738 +Use: https://github.com/dotnet/runtime/blob/4893732ba881a4fb9023af1d6d4e64bb2a6eddbc/src/tests/sizeondisk/sodbench/SoDBench.cs#L735 -- 2.7.4