Initial PDB / PerfMap support in Crossgen2 + System.Private.CoreLib switchover to...
authorTomáš Rylek <trylek@microsoft.com>
Sat, 16 Jan 2021 10:24:40 +0000 (11:24 +0100)
committerGitHub <noreply@github.com>
Sat, 16 Jan 2021 10:24:40 +0000 (11:24 +0100)
commitea4f5f2c501599b9397d14274bbfe5513b0ff03b
tree652151c60bc3c2ea4eeaa3e890e8c5b3ce4d146d
parent3aa65f262ac54fa8417c5e9fc08a0c2b3e14ea46
Initial PDB / PerfMap support in Crossgen2 + System.Private.CoreLib switchover to use Crossgen2 (#47019)

I have moved the PDB writer code to a new assembly
ILCompiler.Diagnostics so that it can be reused by Crossgen2.
I have also added an initial trivial implementation of the
PerfMap writer.

Thanks

Tomas
28 files changed:
src/coreclr/crossgen-corelib.proj
src/coreclr/tools/aot/ILCompiler.Diagnostics/ILCompiler.Diagnostics.csproj [new file with mode: 0644]
src/coreclr/tools/aot/ILCompiler.Diagnostics/ISymNGenWriter.cs [moved from src/coreclr/tools/r2rdump/ISymNGenWriter.cs with 100% similarity]
src/coreclr/tools/aot/ILCompiler.Diagnostics/MethodInfo.cs [new file with mode: 0644]
src/coreclr/tools/aot/ILCompiler.Diagnostics/PdbWriter.cs [moved from src/coreclr/tools/r2rdump/PdbWriter.cs with 94% similarity]
src/coreclr/tools/aot/ILCompiler.Diagnostics/PerfMapWriter.cs [new file with mode: 0644]
src/coreclr/tools/aot/ILCompiler.ReadyToRun/CodeGen/ReadyToRunObjectWriter.cs
src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/ReadyToRunCodegenCompilation.cs
src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/ReadyToRunCodegenCompilationBuilder.cs
src/coreclr/tools/aot/ILCompiler.ReadyToRun/ILCompiler.ReadyToRun.csproj
src/coreclr/tools/aot/ILCompiler.ReadyToRun/ObjectWriter/MapFileBuilder.cs
src/coreclr/tools/aot/ILCompiler.ReadyToRun/ObjectWriter/OutputInfoBuilder.cs [new file with mode: 0644]
src/coreclr/tools/aot/ILCompiler.ReadyToRun/ObjectWriter/R2RPEBuilder.cs
src/coreclr/tools/aot/ILCompiler.ReadyToRun/ObjectWriter/SectionBuilder.cs
src/coreclr/tools/aot/ILCompiler.ReadyToRun/ObjectWriter/SymbolFileBuilder.cs [new file with mode: 0644]
src/coreclr/tools/aot/crossgen2.sln
src/coreclr/tools/aot/crossgen2/CommandLineOptions.cs
src/coreclr/tools/aot/crossgen2/Program.cs
src/coreclr/tools/aot/crossgen2/Properties/Resources.resx
src/coreclr/tools/r2rdump/CommandLineOptions.cs
src/coreclr/tools/r2rdump/R2RDump.cs
src/coreclr/tools/r2rdump/R2RDump.csproj
src/coreclr/tools/r2rdump/R2RDump.sln
src/coreclr/tools/r2rtest/BuildOptions.cs
src/coreclr/tools/r2rtest/CommandLineOptions.cs
src/coreclr/tools/r2rtest/Crossgen2Runner.cs
src/tests/Common/CLRTest.CrossGen.targets
src/tests/build.cmd