Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
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
24 changes: 18 additions & 6 deletions src/tests/JIT/Directed/PREFIX/unaligned/1/arglist.il
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ arg1==arg4, arg2==arg5, arg3==arg6.
.assembly extern legacy library mscorlib {}
.assembly extern System.Runtime { .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) }
.assembly extern xunit.core {}
.assembly extern Microsoft.DotNet.XUnitExtensions { .publickeytoken = (31 BF 38 56 AD 36 4E 35 ) }
.assembly extern TestLibrary { .ver 0:0:0:0 }
.assembly 'arglist_Target_32BIT_unaligned_1'{ //This byte field requests that this assembly not be verified at run time and corresponds to this C# declaration:
//[assembly:System.Security.Permissions.SecurityPermissionAttribute( [mscorlib]System.Security.Permissions.SecurityAction.RequestMinimum, Flags=System.Security.Permissions.SecurityPermissionFlag.SkipVerification )]
Expand Down Expand Up @@ -82,12 +81,25 @@ REALLYDONE:
// Entry point - Main -
//-------------------------
.class public auto ansi arglist_ {
.method public static int32 main() {
.custom instance void [Microsoft.DotNet.XUnitExtensions]Xunit.ConditionalFactAttribute::.ctor(class [System.Runtime]System.Type, string[]) = {
type([TestLibrary]TestLibrary.PlatformDetection)
string[2] ('IsVarArgSupported' 'Is32BitProcess')
}
.method public static int32 Main() {
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 2
call bool [TestLibrary]TestLibrary.PlatformDetection::get_IsVarArgSupported()
call bool [TestLibrary]TestLibrary.PlatformDetection::get_Is32BitProcess()
and
brtrue.s DoTest
ldc.i4 100
ret

DoTest:
call int32 arglist_::Test()
ret
}

.method public static int32 Test() {
.locals ()
.maxstack 10

Expand Down
23 changes: 18 additions & 5 deletions src/tests/JIT/Directed/PREFIX/unaligned/1/arglist64.il
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,25 @@ REALLYDONE:
// Entry point - Main -
//-------------------------
.class public auto ansi arglist64 {
.method public static int32 main() {
.custom instance void [Microsoft.DotNet.XUnitExtensions]Xunit.ConditionalFactAttribute::.ctor(class [System.Runtime]System.Type, string[]) = {
type([TestLibrary]TestLibrary.PlatformDetection)
string[2] ('IsVarArgSupported' 'Is64BitProcess')
}
.method public static int32 Main() {
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 2
call bool [TestLibrary]TestLibrary.PlatformDetection::get_IsVarArgSupported()
call bool [TestLibrary]TestLibrary.PlatformDetection::get_Is64BitProcess()
and
brtrue.s DoTest
ldc.i4 100
ret

DoTest:
call int32 arglist64::Test()
ret
}

.method public static int32 Test() {
.locals ()
.maxstack 10

Expand Down
24 changes: 18 additions & 6 deletions src/tests/JIT/Directed/PREFIX/unaligned/2/arglist.il
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ arg1==arg4, arg2==arg5, arg3==arg6.
.assembly extern legacy library mscorlib {}
.assembly extern System.Runtime { .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) }
.assembly extern xunit.core {}
.assembly extern Microsoft.DotNet.XUnitExtensions { .publickeytoken = (31 BF 38 56 AD 36 4E 35 ) }
.assembly extern TestLibrary { .ver 0:0:0:0 }
.assembly 'arglist_Target_32BIT_unaligned_2'{ //This byte field requests that this assembly not be verified at run time and corresponds to this C# declaration:
//[assembly:System.Security.Permissions.SecurityPermissionAttribute( [mscorlib]System.Security.Permissions.SecurityAction.RequestMinimum, Flags=System.Security.Permissions.SecurityPermissionFlag.SkipVerification )]
Expand Down Expand Up @@ -83,12 +82,25 @@ REALLYDONE:
// Entry point - Main -
//-------------------------
.class public auto ansi arglist_ {
.method public static int32 main() {
.custom instance void [Microsoft.DotNet.XUnitExtensions]Xunit.ConditionalFactAttribute::.ctor(class [System.Runtime]System.Type, string[]) = {
type([TestLibrary]TestLibrary.PlatformDetection)
string[2] ('IsVarArgSupported' 'Is32BitProcess')
}
.method public static int32 Main() {
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 2
call bool [TestLibrary]TestLibrary.PlatformDetection::get_IsVarArgSupported()
call bool [TestLibrary]TestLibrary.PlatformDetection::get_Is32BitProcess()
and
brtrue.s DoTest
ldc.i4 100
ret

DoTest:
call int32 arglist_::Test()
ret
}

.method public static int32 Test() {
.locals ()
.maxstack 10

Expand Down
24 changes: 18 additions & 6 deletions src/tests/JIT/Directed/PREFIX/unaligned/2/arglist64.il
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ arg1==arg4, arg2==arg5, arg3==arg6.
.assembly extern legacy library mscorlib {}
.assembly extern System.Runtime { .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) }
.assembly extern xunit.core {}
.assembly extern Microsoft.DotNet.XUnitExtensions { .publickeytoken = (31 BF 38 56 AD 36 4E 35 ) }
.assembly extern TestLibrary { .ver 0:0:0:0 }
.assembly 'arglist_Target_64BIT_unaligned_2'{ //This byte field requests that this assembly not be verified at run time and corresponds to this C# declaration:
//[assembly:System.Security.Permissions.SecurityPermissionAttribute( [mscorlib]System.Security.Permissions.SecurityAction.RequestMinimum, Flags=System.Security.Permissions.SecurityPermissionFlag.SkipVerification )]
Expand Down Expand Up @@ -92,12 +91,25 @@ REALLYDONE:
// Entry point - Main -
//-------------------------
.class public auto ansi arglist64 {
.method public static int32 main() {
.custom instance void [Microsoft.DotNet.XUnitExtensions]Xunit.ConditionalFactAttribute::.ctor(class [System.Runtime]System.Type, string[]) = {
type([TestLibrary]TestLibrary.PlatformDetection)
string[2] ('IsVarArgSupported' 'Is64BitProcess')
}
.method public static int32 Main() {
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 2
call bool [TestLibrary]TestLibrary.PlatformDetection::get_IsVarArgSupported()
call bool [TestLibrary]TestLibrary.PlatformDetection::get_Is64BitProcess()
and
brtrue.s DoTest
ldc.i4 100
ret

DoTest:
call int32 arglist64::Test()
ret
}

.method public static int32 Test() {
.locals ()
.maxstack 10

Expand Down
24 changes: 18 additions & 6 deletions src/tests/JIT/Directed/PREFIX/unaligned/4/arglist.il
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ arg1==arg4, arg2==arg5, arg3==arg6.
.assembly extern legacy library mscorlib {}
.assembly extern System.Runtime { .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) }
.assembly extern xunit.core {}
.assembly extern Microsoft.DotNet.XUnitExtensions { .publickeytoken = (31 BF 38 56 AD 36 4E 35 ) }
.assembly extern TestLibrary { .ver 0:0:0:0 }
.assembly 'arglist_Target_32BIT_unaligned_4'{ //This byte field requests that this assembly not be verified at run time and corresponds to this C# declaration:
//[assembly:System.Security.Permissions.SecurityPermissionAttribute( [mscorlib]System.Security.Permissions.SecurityAction.RequestMinimum, Flags=System.Security.Permissions.SecurityPermissionFlag.SkipVerification )]
Expand Down Expand Up @@ -82,12 +81,25 @@ REALLYDONE:
// Entry point - Main -
//-------------------------
.class public auto ansi arglist_ {
.method public static int32 main() {
.custom instance void [Microsoft.DotNet.XUnitExtensions]Xunit.ConditionalFactAttribute::.ctor(class [System.Runtime]System.Type, string[]) = {
type([TestLibrary]TestLibrary.PlatformDetection)
string[2] ('IsVarArgSupported' 'Is32BitProcess')
}
.method public static int32 Main() {
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 2
call bool [TestLibrary]TestLibrary.PlatformDetection::get_IsVarArgSupported()
call bool [TestLibrary]TestLibrary.PlatformDetection::get_Is32BitProcess()
and
brtrue.s DoTest
ldc.i4 100
ret

DoTest:
call int32 arglist_::Test()
ret
}

.method public static int32 Test() {
.locals ()
.maxstack 10

Expand Down
24 changes: 18 additions & 6 deletions src/tests/JIT/Directed/PREFIX/unaligned/4/arglist64.il
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ arg1==arg4, arg2==arg5, arg3==arg6.
.assembly extern legacy library mscorlib {}
.assembly extern System.Runtime { .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) }
.assembly extern xunit.core {}
.assembly extern Microsoft.DotNet.XUnitExtensions { .publickeytoken = (31 BF 38 56 AD 36 4E 35 ) }
.assembly extern TestLibrary { .ver 0:0:0:0 }
.assembly 'arglist_Target_64BIT_unaligned_4'{ //This byte field requests that this assembly not be verified at run time and corresponds to this C# declaration:
//[assembly:System.Security.Permissions.SecurityPermissionAttribute( [mscorlib]System.Security.Permissions.SecurityAction.RequestMinimum, Flags=System.Security.Permissions.SecurityPermissionFlag.SkipVerification )]
Expand Down Expand Up @@ -92,12 +91,25 @@ REALLYDONE:
// Entry point - Main -
//-------------------------
.class public auto ansi arglist64 {
.method public static int32 main() {
.custom instance void [Microsoft.DotNet.XUnitExtensions]Xunit.ConditionalFactAttribute::.ctor(class [System.Runtime]System.Type, string[]) = {
type([TestLibrary]TestLibrary.PlatformDetection)
string[2] ('IsVarArgSupported' 'Is64BitProcess')
}
.method public static int32 Main() {
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 2
call bool [TestLibrary]TestLibrary.PlatformDetection::get_IsVarArgSupported()
call bool [TestLibrary]TestLibrary.PlatformDetection::get_Is64BitProcess()
and
brtrue.s DoTest
ldc.i4 100
ret

DoTest:
call int32 arglist64::Test()
ret
}

.method public static int32 Test() {
.locals ()
.maxstack 10

Expand Down
24 changes: 18 additions & 6 deletions src/tests/JIT/Directed/PREFIX/volatile/1/arglist.il
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ arg1==arg4, arg2==arg5, arg3==arg6.
.assembly extern legacy library mscorlib {}
.assembly extern System.Runtime { .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) }
.assembly extern xunit.core {}
.assembly extern Microsoft.DotNet.XUnitExtensions { .publickeytoken = (31 BF 38 56 AD 36 4E 35 ) }
.assembly extern TestLibrary { .ver 0:0:0:0 }
.assembly 'arglist_Target_32BIT_volatile'{ //This byte field requests that this assembly not be verified at run time and corresponds to this C# declaration:
//[assembly:System.Security.Permissions.SecurityPermissionAttribute( [mscorlib]System.Security.Permissions.SecurityAction.RequestMinimum, Flags=System.Security.Permissions.SecurityPermissionFlag.SkipVerification )]
Expand Down Expand Up @@ -84,12 +83,25 @@ REALLYDONE:
// Entry point - Main -
//-------------------------
.class public auto ansi arglist_ {
.method public static int32 main() {
.custom instance void [Microsoft.DotNet.XUnitExtensions]Xunit.ConditionalFactAttribute::.ctor(class [System.Runtime]System.Type, string[]) = {
type([TestLibrary]TestLibrary.PlatformDetection)
string[2] ('IsVarArgSupported' 'Is32BitProcess')
}
.method public static int32 Main() {
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 2
call bool [TestLibrary]TestLibrary.PlatformDetection::get_IsVarArgSupported()
call bool [TestLibrary]TestLibrary.PlatformDetection::get_Is32BitProcess()
and
brtrue.s DoTest
ldc.i4 100
ret

DoTest:
call int32 arglist_::Test()
ret
}

.method public static int32 Test() {
.locals ()
.maxstack 10

Expand Down
24 changes: 18 additions & 6 deletions src/tests/JIT/Directed/PREFIX/volatile/1/arglist64.il
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ arg1==arg4, arg2==arg5, arg3==arg6.
.assembly extern legacy library mscorlib {}
.assembly extern System.Runtime { .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) }
.assembly extern xunit.core {}
.assembly extern Microsoft.DotNet.XUnitExtensions { .publickeytoken = (31 BF 38 56 AD 36 4E 35 ) }
.assembly extern TestLibrary { .ver 0:0:0:0 }
.assembly 'arglist_Target_64BIT_volatile'{ //This byte field requests that this assembly not be verified at run time and corresponds to this C# declaration:
//[assembly:System.Security.Permissions.SecurityPermissionAttribute( [mscorlib]System.Security.Permissions.SecurityAction.RequestMinimum, Flags=System.Security.Permissions.SecurityPermissionFlag.SkipVerification )]
Expand Down Expand Up @@ -92,12 +91,25 @@ REALLYDONE:
// Entry point - Main -
//-------------------------
.class public auto ansi arglist64 {
.method public static int32 main() {
.custom instance void [Microsoft.DotNet.XUnitExtensions]Xunit.ConditionalFactAttribute::.ctor(class [System.Runtime]System.Type, string[]) = {
type([TestLibrary]TestLibrary.PlatformDetection)
string[2] ('IsVarArgSupported' 'Is64BitProcess')
}
.method public static int32 Main() {
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 2
call bool [TestLibrary]TestLibrary.PlatformDetection::get_IsVarArgSupported()
call bool [TestLibrary]TestLibrary.PlatformDetection::get_Is64BitProcess()
and
brtrue.s DoTest
ldc.i4 100
ret

DoTest:
call int32 arglist64::Test()
ret
}

.method public static int32 Test() {
.locals ()
.maxstack 10

Expand Down
24 changes: 17 additions & 7 deletions src/tests/JIT/Methodical/Coverage/arglist_pos.il
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
.ver 0:0:0:0
}
.assembly extern xunit.core {}
.assembly extern Microsoft.DotNet.XUnitExtensions { .publickeytoken = (31 BF 38 56 AD 36 4E 35 ) }
.assembly extern TestLibrary { .ver 0:0:0:0 }

.class public auto ansi arglist_pos extends [mscorlib]System.Object
Expand All @@ -29,18 +28,29 @@
arglist
call instance void [mscorlib]System.ArgIterator::.ctor(value class [mscorlib]System.RuntimeArgumentHandle)
ldloca.s args
call instance int32 [mscorlib]System.ArgIterator::GetRemainingCount()
call instance int32 [mscorlib]System.ArgIterator::GetRemainingCount()
call void [System.Console]System.Console::WriteLine(int32)
ret
}

.method public hidebysig static int32 Main() il managed
{
.custom instance void [Microsoft.DotNet.XUnitExtensions]Xunit.ConditionalFactAttribute::.ctor(class [System.Runtime]System.Type, string[]) = {
type([TestLibrary]TestLibrary.PlatformDetection)
string[1] ('IsVarArgSupported')
}
.entrypoint
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
call bool [TestLibrary]TestLibrary.PlatformDetection::get_IsVarArgSupported()
brtrue.s DoTest
ldc.i4 100
ret

DoTest:
call int32 arglist_pos::TestEntry()
ret
}

.method public hidebysig static int32 TestEntry() il managed
{
.try
{
call vararg void arglist_pos::Test()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,28 @@
.assembly ASSEMBLY_NAME
{ }
.assembly extern xunit.core {}
.assembly extern Microsoft.DotNet.XUnitExtensions { .publickeytoken = (31 BF 38 56 AD 36 4E 35 ) }
.assembly extern TestLibrary { .ver 0:0:0:0 }
.class public auto ansi Test_i_array_merge_Target_32BIT extends [mscorlib]System.Object
{
.method public hidebysig static int32 Main() il managed
{
.custom instance void [Microsoft.DotNet.XUnitExtensions]Xunit.ConditionalFactAttribute::.ctor(class [System.Runtime]System.Type, string[]) = {
type([TestLibrary]TestLibrary.PlatformDetection)
string[1] ('Is32BitProcess')
}
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 1
call bool [TestLibrary]TestLibrary.PlatformDetection::get_Is32BitProcess()
brtrue.s DoTest
ldc.i4 100
ret

DoTest:
call int32 Test_i_array_merge_Target_32BIT::Test()
ret
}

.method public hidebysig static int32 Test() il managed
{
.maxstack 8
.locals (int32[0...], native int[0...], native int, native int)
ldc.i4 16
Expand Down Expand Up @@ -110,7 +121,7 @@ end_c:

ldc.i4 0x64
ret
} // end of method 'Test::Main'
} // end of method 'Test::Test'

.method public hidebysig specialname rtspecialname
instance void .ctor() il managed
Expand Down
Loading
Loading