diff options
author | Aleksey Kliger (λgeek) <alklig@microsoft.com> | 2022-03-02 18:05:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-02 18:05:27 +0300 |
commit | e24f66dff0770eee344038da8c12476d8c450c41 (patch) | |
tree | 9abd17d849932a5c06cd8f1e9f61af239f424cc0 /src/libraries/System.Runtime.Loader/tests/ApplyUpdate/System.Reflection.Metadata.ApplyUpdate.Test.StaticLambdaRegression/System.Reflection.Metadata.ApplyUpdate.Test.StaticLambdaRegression.csproj | |
parent | 190a47ee2f34056a6127700142c57d7a967d6bfd (diff) |
[release/7.0-preview2][mono][hot reload] Fix sequence point logic for compiler-generated methods in updates (#65867)v7.0.0-preview.2.22152.2release/7.0-preview2
* [tests] Pass PDB delta to ApplyUpdate
* extra tracing output
* Return 0 if a method has no sequence points
-1 means there was some kind of problem
0 means 0 sequence points
In particular for mono_ppdb_get_seq_points_enc a compiler-generated method
might have 0 sequence points in the PDB delta, but we should consider that as
ok, and not fall back to looking in the baseline image
* pass MONO_DEBUG=getn-seq-points to hot reload tests
For platforms where we use the remote executor, set the environment variable
when starting the remote process.
For WASM, pass --setenv when building the project.
* fix whitespace
* [debug] Handle gen-seq-points, and hot reload updates without PDBs
When hot reload is used with dotnet watch, the baseline PDBs are available, and
sequence points are enabled, but there are no PDB updates.
* [hot_reload] Fix off by one error
when counting added and modified rows
* [hot_reload] Allow custom attribute deletions, even without ChangeCustomAttributes capability
Roslyn seems to delete nullability annotations sometimes
* Add regression test for adding static lambdas
* param attributes for hot reload
* don't run test where it isn't supported
Diffstat (limited to 'src/libraries/System.Runtime.Loader/tests/ApplyUpdate/System.Reflection.Metadata.ApplyUpdate.Test.StaticLambdaRegression/System.Reflection.Metadata.ApplyUpdate.Test.StaticLambdaRegression.csproj')
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libraries/System.Runtime.Loader/tests/ApplyUpdate/System.Reflection.Metadata.ApplyUpdate.Test.StaticLambdaRegression/System.Reflection.Metadata.ApplyUpdate.Test.StaticLambdaRegression.csproj b/src/libraries/System.Runtime.Loader/tests/ApplyUpdate/System.Reflection.Metadata.ApplyUpdate.Test.StaticLambdaRegression/System.Reflection.Metadata.ApplyUpdate.Test.StaticLambdaRegression.csproj new file mode 100644 index 00000000000..015a252a700 --- /dev/null +++ b/src/libraries/System.Runtime.Loader/tests/ApplyUpdate/System.Reflection.Metadata.ApplyUpdate.Test.StaticLambdaRegression/System.Reflection.Metadata.ApplyUpdate.Test.StaticLambdaRegression.csproj @@ -0,0 +1,11 @@ +<Project Sdk="Microsoft.NET.Sdk"> + <PropertyGroup> + <RootNamespace>System.Runtime.Loader.Tests</RootNamespace> + <TargetFrameworks>$(NetCoreAppCurrent)</TargetFrameworks> + <TestRuntime>true</TestRuntime> + <DeltaScript>deltascript.json</DeltaScript> + </PropertyGroup> + <ItemGroup> + <Compile Include="StaticLambdaRegression.cs" /> + </ItemGroup> +</Project> |