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
- Remove exception filters from Http3RequestStream The type of exception filters used cause the mono aot compiler to fail when building the AOT functional tests for iOS. Addresses https://github.com/do... — committed to steveisok/runtime by deleted user 3 years ago
- Workaround exception filter linker issues with Http3RequestStream (#57011) The type of exception filters used cause the linker to generate invalid IL when building the AOT functional tests for iOS. T... — committed to dotnet/runtime by steveisok 3 years ago
https://github.com/mono/linker/issues/2181 is the tracking issue in the linker. We have a tentative fix for the
Http3RequestStream
issue.