Skip to content

CanDisassembleInlinableBenchmarks failed on arm64 platform when running with .NET 10 #3207

Description

@filzrev

On PR #3206,
CanDisassembleInlinableBenchmarks failed with following error.

CanDisassembleInlinableBenchmarks(jit: RyuJit, platform: Arm64, toolchain: .NET 10.0) [FAIL]
System.InvalidOperationException : Sequence contains no matching element
Stack Trace:
  at System.Linq.ThrowHelper.ThrowNoMatchException()
  at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate)
     /_/tests/BenchmarkDotNet.IntegrationTests/DisassemblyDiagnoserTests.cs(166,0): at BenchmarkDotNet.IntegrationTests.DisassemblyDiagnoserTests.CanDisassembleInlinableBenchmarks(Jit jit, Platform platform, IToolchain toolchain)

It's occurred when using arm64 architecture and CsProjCoreToolchain.NetCoreApp10_0 toolchain is used.

disassemblyResult expected to contains following name.

BenchmarkDotNet.IntegrationTests.DisassemblyDiagnoserTests+WithInlineable.JustReturn()

But on arm64/net10.0 environment following result seems be returned.

BenchmarkDotNet.Autogenerated.Runnable_0.__ForDisassemblyDiagnoser__(Int32)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions