Skip to content

Commit

Permalink
Added DEBUG switches for roundtrip ILASM (#72128)
Browse files Browse the repository at this point in the history
* Added DEBUG switches for roundtrip ILASM

* Adding debug switch in the test

* Updated with Bruce's variant

* Update poison.csproj
  • Loading branch information
TIHan committed Aug 6, 2022
1 parent e2511ae commit 638a4c1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/tests/Common/CLRTest.Jit.targets
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ WARNING: When setting properties based on their current state (for example:
***********************************************************************************************
-->

<PropertyGroup>
<_IlasmSwitches Condition="'$(DebugType)' == 'Full'">$(_IlasmSwitches) -DEBUG</_IlasmSwitches>
<_IlasmSwitches Condition="'$(DebugType)' == 'Impl'">$(_IlasmSwitches) -DEBUG=IMPL</_IlasmSwitches>
<_IlasmSwitches Condition="'$(DebugType)' == 'PdbOnly'">$(_IlasmSwitches) -DEBUG=OPT</_IlasmSwitches>
</PropertyGroup>

<Target Name="GetIlasmRoundTripBashScript"
Returns="$(IlasmRoundTripBashScript);$(BashIlrtTestLaunchCmds)">
<PropertyGroup>
Expand Down

0 comments on commit 638a4c1

Please sign in to comment.