You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.
---------------------------
Assertion Failed: Abort=Quit, Retry=Debug, Ignore=Continue
---------------------------
Stack is not empty
at Internal.IL.EvaluationStack`1.Pop()
at Internal.IL.ILImporter.ImportStoreVar(Int32 index, Boolean argument)
at Internal.IL.ILImporter.ImportBasicBlock(BasicBlock basicBlock)
The handlers should not be getting compiled right now. If they are getting pulled in somehow in this method (what is special about this method that pulls them in?), I agree that pushing null on the stack would be fine for now.
The handlers should not be getting compiled right now
Yep, that seems to be the intention of the existing code. But this is done by not creating BBs for catch handlers and this results in nested finally BBs falling through into the catch BB code. I'll try to fix it one of these days.
PS: Actually it's the other way around, the BB is created but it's not ignored during import. Either way, EH handling needs fixing.
This is pre-requisite for making reflection work (#2035):
Repro:
corert/src/ILCompiler.Compiler/src/Compiler/LibraryInitializers.cs
Line 69 in 358c945
The text was updated successfully, but these errors were encountered: