We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The assertion detecting logic in PMIDriver (
jitutils/src/pmi/PMIDriver.cs
Lines 214 to 267 in 945715f
Additionally, due to other changes in the JIT, assertions are never logged in the default scenario.
.\bootstrap.cmd
jit-diff.bat diff --diff --pmi
Observe that the command fails due to dotnet/runtime#51728. However, System.Private.Corelib.err reports: General error, no assert seen.
System.Private.Corelib.err
General error, no assert seen.
assertAbort (https://github.com/dotnet/runtime/blob/main/src/coreclr/jit/error.cpp#L277-L323) currently fails to log anything because COMPlus_JitFuncInfoLogFile is not set and because the default CoreCLR.dll (VM) for the PMI diffs is release which means CEEInfo::doAssert does not actually print anything: https://github.com/dotnet/runtime/blob/main/src/coreclr/vm/jitinterface.cpp#L10897-L10925
assertAbort
COMPlus_JitFuncInfoLogFile
CoreCLR.dll
release
CEEInfo::doAssert
Additionally, even if the assertions are printed, they currently resemble:
Encoding:GetCharsWithFallback(long,int,long,int,int,int):int:this - Assertion failed (C:\Users\tagoo\Source\repos\runtime_base\src\coreclr\jit\emitxarch.cpp:11739 - ((regMask & emitThisGCrefRegs) && (ins == INS_add)) || ((regMask & emitThisByrefRegs) && (ins == INS_add || ins == INS_sub))) during Emit code
While the PMIDriver is currently looking for ]): Assertion failed ' and Assert failure(PID , neither of which are used by this failure path.
]): Assertion failed '
Assert failure(PID
The text was updated successfully, but these errors were encountered:
CC. @dotnet/jit-contrib, @BruceForstall
Sorry, something went wrong.
No branches or pull requests
Issue
The assertion detecting logic in PMIDriver (
jitutils/src/pmi/PMIDriver.cs
Lines 214 to 267 in 945715f
Additionally, due to other changes in the JIT, assertions are never logged in the default scenario.
Repro
.\bootstrap.cmd
jit-diff.bat diff --diff --pmi
Observe that the command fails due to dotnet/runtime#51728. However,
System.Private.Corelib.err
reports:General error, no assert seen.
Analysis
assertAbort
(https://github.com/dotnet/runtime/blob/main/src/coreclr/jit/error.cpp#L277-L323) currently fails to log anything becauseCOMPlus_JitFuncInfoLogFile
is not set and because the defaultCoreCLR.dll
(VM) for the PMI diffs isrelease
which meansCEEInfo::doAssert
does not actually print anything: https://github.com/dotnet/runtime/blob/main/src/coreclr/vm/jitinterface.cpp#L10897-L10925Additionally, even if the assertions are printed, they currently resemble:
While the PMIDriver is currently looking for
]): Assertion failed '
andAssert failure(PID
, neither of which are used by this failure path.The text was updated successfully, but these errors were encountered: