runtime: [Mono] Linker generating invalid IL with exception filters

The exception filters introduced in https://github.com/dotnet/runtime/compare/ab0991e1adf2e4ebbcb09a1ddcfdfc031aa21510...40ed818e5ecd9f413ca75bb62c2eb4913acbc723#diff-b79affd636899ac98b816c1398f9dca19bc4850a939a3815c09c5a9931094a4c started to make the iOS AOT functional tests fail with:

[System.Net.Http.dll] Unable to compile method 'void System.Net.Http.Http3RequestStream/<SendAsync>d__28:MoveNext ()' due to: 'Invalid IL code in System.Net.Http.Http3RequestStream/<SendAsync>d__28:MoveNext (): IL_05e1: pop 

As a result, the iOS and Catalyst legs are failing on CI.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (16 by maintainers)

Commits related to this issue

Most upvoted comments

https://github.com/mono/linker/issues/2181 is the tracking issue in the linker. We have a tentative fix for the Http3RequestStream issue.