Skip to content

Commit 638a4c1

Browse files
authored
Added DEBUG switches for roundtrip ILASM (#72128)
* Added DEBUG switches for roundtrip ILASM * Adding debug switch in the test * Updated with Bruce's variant * Update poison.csproj
1 parent e2511ae commit 638a4c1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/tests/Common/CLRTest.Jit.targets

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ WARNING: When setting properties based on their current state (for example:
2929
***********************************************************************************************
3030
-->
3131

32+
<PropertyGroup>
33+
<_IlasmSwitches Condition="'$(DebugType)' == 'Full'">$(_IlasmSwitches) -DEBUG</_IlasmSwitches>
34+
<_IlasmSwitches Condition="'$(DebugType)' == 'Impl'">$(_IlasmSwitches) -DEBUG=IMPL</_IlasmSwitches>
35+
<_IlasmSwitches Condition="'$(DebugType)' == 'PdbOnly'">$(_IlasmSwitches) -DEBUG=OPT</_IlasmSwitches>
36+
</PropertyGroup>
37+
3238
<Target Name="GetIlasmRoundTripBashScript"
3339
Returns="$(IlasmRoundTripBashScript);$(BashIlrtTestLaunchCmds)">
3440
<PropertyGroup>

0 commit comments

Comments
 (0)