Skip to content

Enable jit optimization in crossgen testing #114464

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/tests/Common/CLRTest.CrossGen.targets
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ if [ ! -z ${RunCrossGen2+x} ]%3B then
done

echo -o:"$__OutputFile" >> "$__ResponseFile"
echo -O >> "$__ResponseFile"
echo --targetarch:$(TargetArchitecture) >> "$__ResponseFile"
echo --targetos:$(TargetOS) >> "$__ResponseFile"
echo --verify-type-and-field-layout >> "$__ResponseFile"
Expand Down Expand Up @@ -276,6 +277,7 @@ if defined RunCrossGen2 (
set __Command=!__Command! !ExtraCrossGen2Args!

echo !__InputFile!>>!__ResponseFile!
echo -O>!__ResponseFile!
echo -o:!__OutputFile!>>!__ResponseFile!
echo --targetarch:$(TargetArchitecture)>>!__ResponseFile!
echo --targetos:$(TargetOS)>>!__ResponseFile!
Expand Down
2 changes: 1 addition & 1 deletion src/tests/JIT/Directed/throwbox/filter.il
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
.class public auto ansi beforefieldinit Test
extends [mscorlib]System.Object
{
.method public hidebysig static int32 Main() cil managed
.method public hidebysig static int32 Main() cil managed aggressiveinlining
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
Expand Down
Loading