Skip to content

Commit 998ca7b

Browse files
authored
JIT: Skip test validating release debug info mappings (#112942)
The test of time has shown that this test just ends up being another place to modify, and it has never caught anything useful. At the same time it is currently disabling several JIT optimizations to pass, but those optimizations can only be disabled with checked JIT builds, so the test ends up failing in release. Fix #104451
1 parent 212d7de commit 998ca7b

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

src/tests/JIT/Directed/debugging/debuginfo/tester.csproj

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@
1010
<GCStressIncompatible>true</GCStressIncompatible>
1111
</PropertyGroup>
1212
<ItemGroup>
13-
<!-- These expectedly interfere with debug info -->
14-
<CLRTestEnvironmentVariable Include="DOTNET_JitNoForwardSub" Value="1" />
15-
<CLRTestEnvironmentVariable Include="DOTNET_JitEnableHeadTailMerge" Value="0" />
16-
<CLRTestEnvironmentVariable Include="DOTNET_JitEnableCrossBlockLocalAssertionProp" Value="0" />
17-
<CLRTestEnvironmentVariable Include="DOTNET_JitEnableOptRepeat" Value="0" />
18-
1913
<ProjectReference Include="tests_d.ilproj" Aliases="tests_d" />
2014
<ProjectReference Include="tests_r.ilproj" Aliases="tests_r" />
2115
<ProjectReference Include="attribute.csproj" />

src/tests/JIT/Directed/debugging/debuginfo/tests.il

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
{
4444
.custom instance void [attribute]ExpectedILMappings::.ctor() = {
4545
property int32[] Debug = int32[2]( 0 6 )
46-
property int32[] Opts = int32[2]( 0 6 )
46+
property int32[] Opts = int32[0]( )
4747
}
4848
.maxstack 8
4949
IL_0000: call int32 DebugInfoMethods::NeverInlined()
@@ -59,7 +59,7 @@
5959
{
6060
.custom instance void [attribute]ExpectedILMappings::.ctor() = {
6161
property int32[] Debug = int32[2]( 0 6 )
62-
property int32[] Opts = int32[2]( 0 0xE )
62+
property int32[] Opts = int32[0]( )
6363
}
6464
.maxstack 2
6565
.locals init (int32 V_0)
@@ -99,7 +99,7 @@
9999
// as this is used for the managed-ret-val feature, but the debugger filters out these mappings and does not
100100
// report them in the ETW event. We should probably change this, those mappings should be useful in any case.
101101
property int32[] Debug = int32[10]( 0x0 0x6 0xe 0x12 0x1a 0x1c 0x24 0x28 0x2c 0x34 )
102-
property int32[] Opts = int32[6]( 0x0 0x6 0xe 0x12 0x1c 0x2c )
102+
property int32[] Opts = int32[0]( )
103103
}
104104
.maxstack 2
105105
.locals init (int32 V_0)

0 commit comments

Comments
 (0)