Disasmo
Disasmo copied to clipboard
Empty disassembly for method with inlined generic method (used to work)
Steps to reproduce
- Clone https://github.com/nietras/Sep
- Go to https://github.com/nietras/Sep/blob/bb269fe6e61647a24a0179ef3de2b405673220ae/src/Sep/Internals/SepParserAvx2PackCmpOrMoveMaskTzcnt.cs#L39
- ALT + SHIFT + D
- Nothing appears in disassembly and log shows something like:
Executing a command in directory "C:\git\oss\sep\src\Sep":
dotnet build -f net9.0 -c Release -o C:\git\oss\sep\src\../artifacts\bin\Sep\release_net9.0\Disasmo-v5.9.2 --no-self-contained /p:RuntimeIdentifier="" /p:RuntimeIdentifiers="" /p:WarningLevel=0 /p:DefineConstants=DISASMO /p:TreatWarningsAsErrors=false "C:\git\oss\sep\src\Sep\Sep.csproj"
Env.vars:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
DOTNET_CLI_TELEMETRY_OPTOUT=1
Executing a command in directory "":
dotnet --version
Env.vars:
dotnet --version: 9.0.103 ()
LoaderAppManager.GetPathToLoader: 5.9.2_net9.0_9.0.103
Executing a command in directory "C:\git\oss\sep\src\../artifacts\bin\Sep\release_net9.0\Disasmo-v5.9.2":
dotnet "DisasmoLoader4.dll" "Sep.dll" "nietras.SeparatedValues.SepParserAvx2PackCmpOrMoveMaskTzcnt" "ParseColEnds" False
Env.vars:
DOTNET_JitDisasm=*SepParserAvx2PackCmpOrMoveMaskTzcnt:ParseColEnds
DOTNET_TieredPGO=0
DOTNET_JitDisasmDiffable=0
DOTNET_TieredCompilation=0
DOTNET_ReadyToRun=1
DOTNET_TieredPGO_InstrumentOnlyHotCode=0
DOTNET_TC_CallCountingDelayMs=0
Visual Studio 2022 17.13.6, Windows 10, x64
I can also confirm it. Oddly, if the class is changed to a struct, it can decompile the method.