Skip to content

Commit 564dbfd

Browse files
committed
Added DEBUG switches for roundtrip ILASM
1 parent 7c51a61 commit 564dbfd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/tests/Common/CLRTest.Jit.targets

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ WARNING: When setting properties based on their current state (for example:
3535
<DisassemblyName>$(AssemblyName).dasm.il</DisassemblyName>
3636
<TargetAssemblyName>$(AssemblyName).asm.dll</TargetAssemblyName>
3737

38+
<_IlasmSwitches Condition="'$(DebugType)' == 'Full'">$(_IlasmSwitches) -DEBUG</_IlasmSwitches>
39+
<_IlasmSwitches Condition="'$(DebugType)' == 'Impl'">$(_IlasmSwitches) -DEBUG=IMPL</_IlasmSwitches>
40+
<_IlasmSwitches Condition="'$(DebugType)' == 'PdbOnly'">$(_IlasmSwitches) -DEBUG=OPT</_IlasmSwitches>
41+
3842
<IlasmRoundTripBashScript Condition="'$(CLRTestKind)' == 'RunOnly'"><![CDATA[
3943
# IlasmRoundTrip Script
4044
# For CLRTestKind==RunOnly, we don't do any ilasm round-trip testing. We also need to disable

0 commit comments

Comments
 (0)