dotnet / dotnet/BenchmarkDotNet

NativeAOT disassembly

Open
#2,062 11 comments 0 reactions 0 assignees View on GitHub
Area:Diagnosers
Dominant language
C#
Stars
11.5k
Forks
1.1k
Avg merge
6d 11h
Merged PRs (30d)
12

Description

BenchmarkDotNet 0.13.1.1835 from the nightlies currently errors out when DisassemblyDiagnoser is used with a NativeAOT job with this exception:
```
Failed to disassemble with following exception:
Sequence contains no elements.
in System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
in BenchmarkDotNet.Disassemblers.ClrMdV1Disassembler.AttachAndDisassemble(Settings settings)
in BenchmarkDotNet.Disassemblers.Program.Main(String[] args)
```

BDN should at least provide a message saying that NativeAOT disassembly is not supported, or properly support it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.