Skip to content

NativeAOT disassembly #2062

@MichalPetryka

Description

@MichalPetryka

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions