-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
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
Verify limitation in Compiler::impCanPInvokeInlineCallSite still applies #330
Comments
Adding a permalink... runtime/src/coreclr/src/jit/importer.cpp Lines 6456 to 6490 in 4becc75
Seems like we could still hit the problem described in the comment on platforms where we have exception interop. Would be good to verify with an actual test. Assuming the concern is valid, seems like we could zero out the inline frame return address on entry to any handler or filter in the method to make sure the frame object is properly reset if an exception happens, instead of banishing inline pinvoke. Probably worth some prospecting to see the impact of this on our current codegen. |
I'm going to push this out of 5.0 as it's a nice to have. |
…006.7 (dotnet#330) [master] Update dependencies from dotnet/arcade
@jkoritzinsky Should this be closed in favor of #70109? |
Yes, I think so |
https://github.com/dotnet/runtime/blob/master/src/coreclr/src/jit/importer.cpp#L6358
Revisit the ifdef'd block on 64-bit, and understand if we still need it. And if so, verify there's test coverage for it.
Context: #327
category:implementation
theme:pinvoke
skill-level:beginner
cost:small
The text was updated successfully, but these errors were encountered: