Fix coreclr paths to match new runtime repo (#923)
authorSteve MacLean <Steve.MacLean@microsoft.com>
Wed, 18 Mar 2020 15:09:15 +0000 (11:09 -0400)
committerGitHub <noreply@github.com>
Wed, 18 Mar 2020 15:09:15 +0000 (11:09 -0400)
19 files changed:
README.md
documentation/building/linux-instructions.md
documentation/debugging-coredump.md
documentation/design-docs/diagnostics-client-library.md
documentation/dotnet-dump-instructions.md
documentation/privatebuildtesting.md
documentation/tutorial/app_is_leaking_memory_eventual_crash.md
eng/clang-compiler-override-arm.txt
eng/clang-compiler-override.txt
eng/setup-vs-tools.cmd
src/inc/gcdecoder.cpp
src/inc/gcdump.h
src/inc/gcinfo.h
src/inc/gcinfodecoder.h
src/inc/gcinfodumper.h
src/inc/gcinfotypes.h
src/inc/stresslog.h
src/inc/tls.h
src/tests/eventpipe/README.md

index 066162d2f77141aa7294b9edf3b3e316ac9c4b8d..0a70ed119696ff8673d521a8dd58bc40119f9017 100644 (file)
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@ This repository contains the source code for various .NET Core runtime diagnosti
 
 Another goal to make it easier to obtain a version of lldb (currently 3.9) with scripts and documentation for platforms/distros like Centos, Alpine, Fedora, etc. that by default provide really old versions.
 
-This repo will also allow out of band development of new SOS and lldb plugin features like symbol server support for the .NET Core runtime and solve the source build problem having SOS.NETCore (managed portion of SOS) in the coreclr repo.
+This repo will also allow out of band development of new SOS and lldb plugin features like symbol server support for the .NET Core runtime and solve the source build problem having SOS.NETCore (managed portion of SOS) in the runtime repo.
 
 See the [GitHub Release tab](https://github.com/dotnet/diagnostics/releases) for notes on SOS and diagnostic tools releases.
 
index f7a05da936940bb40124f5b92499573920c4d802..0980c4369164d82634b5ab7d8eaba67c237334f5 100644 (file)
@@ -8,7 +8,7 @@ Toolchain Setup
 
 The following instructions will install the required packages. This only needs to be done once per machine. These instructions assume that you already have "sudo" installed. It is also recommended to create a github fork of the diagnostics repo and cloning that instead of https://github.com/dotnet/diagnostics.git directly.
 
-To build or cross build for ARM on Windows or Linux see the instructions [here](https://github.com/dotnet/coreclr/blob/master/Documentation/building/cross-building.md#generating-the-rootfs) in the coreclr repo. You will need to clone the coreclr [repo](https://github.com/dotnet/coreclr.git) and build the appropriate "rootfs" for arm or arm64 using these instructions. You only need to do this once.
+To build or cross build for ARM on Windows or Linux see the instructions [here](https://github.com/dotnet/runtime/blob/master/docs/workflow/building/coreclr/cross-building.md#generating-the-rootfs) in the runtime repo. You will need to clone the runtime [repo](https://github.com/dotnet/runtime.git) and build the appropriate "rootfs" for arm or arm64 using these instructions. You only need to do this once.
 
 #### Ubuntu 14.04 ####
 
index 14b5291aaffa931c9da71ff424b6ed7ed9da2995..9a310af20983eceb5a5132c83b2df7431207de33 100644 (file)
@@ -1,7 +1,7 @@
 Debugging Linux or MacOS Core Dump
 ==================================
 
-These instructions will lead you through getting symbols, loading and debugging a Linux or MacOS core dump. The best way to generate a core dump on Linux (only) is through the [createdump](https://github.com/dotnet/coreclr/blob/master/Documentation/botr/xplat-minidump-generation.md#configurationpolicy) facility.
+These instructions will lead you through getting symbols, loading and debugging a Linux or MacOS core dump. The best way to generate a core dump on Linux (only) is through the [createdump](https://github.com/dotnet/runtime/blob/master/docs/design/coreclr/botr/xplat-minidump-generation.md#configurationpolicy) facility.
 
 Dumps created with gdb or gcore do not have all the managed state so various SOS or dotnet-dump commands may display "UNKNOWN" for type and function names. This can also happen with Linux system generated core dumps if the `coredump_filter` for the process is not set to at least 0x3f. See [core](http://man7.org/linux/man-pages/man5/core.5.html) for more information.
 
index c4de878eb4939e05fe2964ff74961b73406d1c90..9a0c2c81a2dab51e781048461e12846c89ee9b00 100644 (file)
@@ -3,7 +3,7 @@
 ## Intro
 The Diagnostics Client Library (currently named as "Runtime Client Library") - `Microsoft.Diagnostics.NetCore.Client.dll` - is a managed library that can be used to interact with the .NET runtime via the diagnostics IPC protocol as documented in https://github.com/dotnet/diagnostics/blob/master/documentation/design-docs/ipc-protocol.md. It provides managed classes for invoking the diagnostics IPC commands programmatically, and can be extended to write various diagnostics tools. It also comes with various classes that should facilitate interacting with the diagnostics IPC commands.
 
-The name "Diagnostics Client Library" comes from the fact that we call the runtime (CoreCLR) component responsible for accepting and handling the diagnostics IPC commands the "diagnostics server" - https://github.com/dotnet/coreclr/blob/master/src/vm/diagnosticserver.h. Since this library is a managed library on the other side of the IPC protocol responsible for communicating with the runtime's "diagnostics server", calling this the "Diagnostics Client Library" made sense.
+The name "Diagnostics Client Library" comes from the fact that we call the runtime (CoreCLR) component responsible for accepting and handling the diagnostics IPC commands the "diagnostics server" - https://github.com/dotnet/runtime/blob/master/src/coreclr/src/vm/diagnosticserver.h. Since this library is a managed library on the other side of the IPC protocol responsible for communicating with the runtime's "diagnostics server", calling this the "Diagnostics Client Library" made sense.
 
 ## Goals
 
index b6b96843173b41f5cc1badcacf19d9e4c570dcd5..31d9a6b56f5e9d302516f06da618e47b0e40c6f9 100644 (file)
@@ -19,7 +19,7 @@ If this is the first global tool installed or you get message `Could not execute
 
 ## Using dotnet-dump
 
-The next step is to collect a dump. This can be skipped if a core dump has already been generated by the operating system or [createdump](https://github.com/dotnet/coreclr/blob/master/Documentation/botr/xplat-minidump-generation.md#configurationpolicy) on Linux.
+The next step is to collect a dump. This can be skipped if a core dump has already been generated by the operating system or [createdump](https://github.com/dotnet/runtime/blob/master/docs/design/coreclr/botr/xplat-minidump-generation.md#configurationpolicy) on Linux.
 
 On Linux, the runtime version must be 3.0 or greater. On Windows, dotnet-dump collect will work with any version of the runtime.
      
index 4a389c4f2989b1fa6df7869dd489f04a6f3200ad..4750c8c232ea0c9dad5f1f5fa4f31204c2f95fbd 100644 (file)
@@ -24,7 +24,7 @@ On Linux/MacOS:
 ```
 ~/diagnostics$ ./test.sh --privatebuildpath /home/user/runtime/artifacts/bin/coreclr/Linux.x64.Debug
 ```
-The private runtime will be copied to the diagnostics repo and the tests started. It can be just the coreclr binaries but this assumes that the private build is close to the latest published master build. If not, you can pass the runtime's testhost directory containing all the shared runtime bits i.e. `c:\runtime\artifacts\bin\testhost\netcoreapp5.0-Windows_NT-Debug-x64\shared\Microsoft.NETCore.App\5.0.0` or `/home/user/runtime/artifacts/bin/testhost/netcoreapp5.0-Linux-Release-x64/shared/Microsoft.NETCore.App/5.0.0`
+The private runtime will be copied to the diagnostics repo and the tests started. It can be just the runtime binaries but this assumes that the private build is close to the latest published master build. If not, you can pass the runtime's testhost directory containing all the shared runtime bits i.e. `c:\runtime\artifacts\bin\coreclr\testhost\netcoreapp5.0-Windows_NT-Debug-x64\shared\Microsoft.NETCore.App\5.0.0` or `/home/user/runtime/artifacts/bin/coreclr/testhost/netcoreapp5.0-Linux-Release-x64/shared/Microsoft.NETCore.App/5.0.0`
 
 On Linux/MacOS it is recommended to test against Release runtime builds because of a benign assert in DAC (tracked by issue #[31897](https://github.com/dotnet/runtime/issues/31897)) that causes the tests to fail.
 
index dc4cc4390396aa2c3a9b35709a064d711b613e20..138ca0f3bf9b4294791b7c528f5db94247a193f8 100644 (file)
@@ -56,7 +56,7 @@ Now that we have a core dump generated, what options do we have to analyze the c
 
 In both cases, you have to be careful to roughly match the environment up with the production server. For example, if I am running .net core preview 5 on Ubuntu 16.04 the core dump must be analyzed on the same architecture and environment. 
 
-For the LLDB/SOS experience, please see - https://github.com/dotnet/coreclr/blob/master/Documentation/building/debugging-instructions.md.
+For the LLDB/SOS experience, please see - https://github.com/dotnet/runtime/blob/master/docs/workflow/building/coreclr/debugging-instructions.md.
 
 To use the dotnet-dump tool to analyze the dump please run:
 
index da25715ade99d73a32fe7987be142ae47aba6f98..5b6f5466765ce4ed1770a68e9087de052a3872de 100644 (file)
@@ -2,7 +2,7 @@ SET (CMAKE_C_FLAGS_INIT                "-Wall -std=c11")
 SET (CMAKE_C_FLAGS_DEBUG_INIT          "-g -O0")
 SET (CLR_C_FLAGS_CHECKED_INIT          "-g -O1")
 # Refer to the below instruction to support __thread with -O2/-O3 on Linux/ARM
-# https://github.com/dotnet/coreclr/blob/master/Documentation/building/linux-instructions.md
+# https://github.com/dotnet/runtime/blob/master/docs/workflow/building/coreclr/linux-instructions.md
 SET (CMAKE_C_FLAGS_RELEASE_INIT        "-g -O1")
 SET (CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "-g -O1")
 
index ee1e63b63b137a745ef08247cdc1881c0bb27791..0a68fba52d13f677f033338a78eff9e0eacb3b4d 100644 (file)
@@ -2,7 +2,7 @@ SET (CMAKE_C_FLAGS_INIT                "-Wall -std=c11")
 SET (CMAKE_C_FLAGS_DEBUG_INIT          "-g -O0")
 SET (CLR_C_FLAGS_CHECKED_INIT          "-g -O2")
 # Refer to the below instruction to support __thread with -O2/-O3 on Linux/ARM
-# https://github.com/dotnet/coreclr/blob/master/Documentation/building/linux-instructions.md
+# https://github.com/dotnet/runtime/blob/master/docs/workflow/building/coreclr/linux-instructions.md
 SET (CMAKE_C_FLAGS_RELEASE_INIT        "-g -O3")
 SET (CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "-g -O2")
 
index 24e8b230cab8a5d93da23f8ea3ec0d106623fc6f..3ad7761fd5419c38845e8f948ed3e012f3ee3257 100644 (file)
@@ -31,7 +31,7 @@ echo Visual Studio 2017 or later not found
 :call_vs
 if not exist "%_VSCOMNTOOLS%" (
     echo %__MsgPrefix%Error: Visual Studio 2017 or 2019 required.
-    echo        Please see https://github.com/dotnet/coreclr/blob/master/Documentation/building/windows-instructions.md for build instructions.
+    echo        Please see https://github.com/dotnet/runtime/blob/master/docs/workflow/building/coreclr/windows-instructions.md for build instructions.
     exit /b 1
 )
 echo %__MsgPrefix%"%_VSCOMNTOOLS%\VsDevCmd.bat"
index bcbb5a12315411f96126876c6388925158a8f26c..a9c2af235cb74d0ba90852b7f29bf78a70b6f1f1 100644 (file)
@@ -14,8 +14,8 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 */
 
 // ******************************************************************************
-// WARNING!!!: This code is also used by the coreclr repo.
-// See: https://github.com/dotnet/coreclr/blob/master/src/inc/gcdecoder.cpp
+// WARNING!!!: This code is also used by the runtime repo.
+// See: https://github.com/dotnet/runtime/blob/master/src/coreclr/src/inc/gcdecoder.cpp
 // ******************************************************************************
 
 #ifdef _TARGET_X86_
index f8bffe7622bc1b86ece4f2a6239654cb67149b21..e4092a9c684325df2e6f4dadd2124bf8d563154a 100644 (file)
@@ -13,8 +13,8 @@
  */
 
 // ******************************************************************************
-// WARNING!!!: This header is also used by the coreclr repo.
-// See: https://github.com/dotnet/coreclr/blob/master/src/inc/gcdump.h
+// WARNING!!!: This header is also used by the runtime repo.
+// See: https://github.com/dotnet/runtime/blob/master/src/coreclr/src/inc/gcdump.h
 // ******************************************************************************
 
 /*****************************************************************************/
index 97ff737117bc652e946eb4307575c77058d0cc9a..dff438992caa82a61ab0372c42a7b82addd6a19e 100644 (file)
@@ -4,8 +4,8 @@
 
 
 // ******************************************************************************
-// WARNING!!!: This header is also used by the coreclr repo.
-// See: https://github.com/dotnet/coreclr/blob/master/src/inc/gcinfo.h
+// WARNING!!!: This header is also used by the runtime repo.
+// See: https://github.com/dotnet/runtime/blob/master/src/coreclr/src/inc/gcinfo.h
 // ******************************************************************************
 
 /*****************************************************************************/
index b2c89d8538b0b356e66019ebd09c97c094706ad9..dc7797409d7307d1650fa22cab084a3fb5221380 100644 (file)
@@ -9,8 +9,8 @@
  *****************************************************************/
 
 // ******************************************************************************
-// WARNING!!!: This header is also used by the coreclr repo.
-// See: https://github.com/dotnet/coreclr/blob/master/src/inc/gcinfodecoder.h
+// WARNING!!!: This header is also used by the runtime repo.
+// See: https://github.com/dotnet/runtime/blob/master/src/coreclr/src/inc/gcinfodecoder.h
 // ******************************************************************************
 
 #ifndef _GC_INFO_DECODER_
index e3ad734da9ffabb145582aff3a0679c1f8b5e1d8..e8b3946a740ea01da0ea8005f086b6a1f56abc7f 100644 (file)
@@ -9,8 +9,8 @@
 #include "gcinfodecoder.h"
 
 // ******************************************************************************
-// WARNING!!!: This header is also used by the coreclr repo.
-// See: https://github.com/dotnet/coreclr/blob/master/src/inc/gcinfodumper.h
+// WARNING!!!: This header is also used by the runtime repo.
+// See: https://github.com/dotnet/runtime/blob/master/src/coreclr/src/inc/gcinfodumper.h
 // ******************************************************************************
 
 //
index 4a1992a7c9daf9dae1269b08563271374a03ae7a..3fc0f455a5e237c799cfddba457e4f247023f12d 100644 (file)
@@ -11,8 +11,8 @@
 #endif
 
 // ******************************************************************************
-// WARNING!!!: This header is also used by the coreclr repo.
-// See: https://github.com/dotnet/coreclr/blob/master/src/inc/gcinfotypes.h
+// WARNING!!!: This header is also used by the runtime repo.
+// See: https://github.com/dotnet/runtime/blob/master/src/coreclr/src/inc/gcinfotypes.h
 // ******************************************************************************
 
 #define PARTIALLY_INTERRUPTIBLE_GC_SUPPORTED
index 9ebb354ee2c0f21eb1a41d359c7ad69646c7c66a..4ced657a736f71abf04435a1a285c447bb12e6ae 100644 (file)
@@ -18,8 +18,8 @@
    extention (eg. strike). There is no memory allocation system calls etc to purtub things */
 
 // ******************************************************************************
-// WARNING!!!: This header is also used by the coreclr repo.
-// See: https://github.com/dotnet/coreclr/blob/master/src/inc/stresslog.h
+// WARNING!!!: This header is also used by the runtime repo.
+// See: https://github.com/dotnet/runtime/blob/master/src/coreclr/src/inc/stresslog.h
 // Parser: https://github.com/dotnet/diagnostics/blob/master/src/SOS/Strike/stressLogDump.cpp
 // ******************************************************************************
 
index c5858845a25419dc64ffc5edbbdea3be358eaf4a..1079b69a4d737723ac3c4ebe9328c7561eaf3c6a 100644 (file)
@@ -9,8 +9,8 @@
 //
 
 // ******************************************************************************
-// WARNING!!!: This header is also used by the coreclr repo.
-// See: https://github.com/dotnet/coreclr/blob/master/src/inc/tls.h
+// WARNING!!!: This header is also used by the runtime repo.
+// See: https://github.com/dotnet/runtime/blob/master/src/coreclr/src/inc/tls.h
 // ******************************************************************************
 
 #ifndef __tls_h__
index 335d4dafc309caac02ae0228cb117b624c341f66..11e127bba49b398b260b1022bf12f567beed8048 100644 (file)
@@ -4,9 +4,9 @@ This directory contains the dotnet/diagnostics end of testing for EventPipe and
 
 | completed | functionality    | location |
 | --------- | ---------------- | -------- |
-| ✅        | IPC protocol     | dotnet/coreclr |
-| ✅        | EventPipe Provider Enable/Disable | dotnet/coreclr |
-| ✅        | EventPipe Event-Provider coherence | dotnet/coreclr |
+| ✅        | IPC protocol     | dotnet/runtime/src/coreclr |
+| ✅        | EventPipe Provider Enable/Disable | dotnet/runtime/src/coreclr |
+| ✅        | EventPipe Event-Provider coherence | dotnet/runtime/src/coreclr |
 | ✅        | `dotnet trace` provider parsing | dotnet/diagnostics |
 | ✅        | `dotnet trace` provider-profile merging | dotnet/diagnostics |