Skip to content

Ensure stack size is computed for stdcall name mangling#46722

Merged
jkotas merged 3 commits intodotnet:masterfrom
jkotas:issue-46667
Jan 8, 2021
Merged

Ensure stack size is computed for stdcall name mangling#46722
jkotas merged 3 commits intodotnet:masterfrom
jkotas:issue-46667

Conversation

@jkotas
Copy link
Member

@jkotas jkotas commented Jan 8, 2021

Fixes #46667

@jkotas
Copy link
Member Author

jkotas commented Jan 8, 2021

triggered the crossgen2-composite job to see whether it is fixing the problem

@jkotas
Copy link
Member Author

jkotas commented Jan 8, 2021

This needs more work...

inline bool SF_IsDebuggableStub (DWORD dwStubFlags) { LIMITED_METHOD_CONTRACT; return (dwStubFlags < NDIRECTSTUB_FL_INVALID && 0 != (dwStubFlags & NDIRECTSTUB_FL_GENERATEDEBUGGABLEIL)); }
inline bool SF_IsCALLIStub (DWORD dwStubFlags) { LIMITED_METHOD_CONTRACT; return (dwStubFlags < NDIRECTSTUB_FL_INVALID && 0 != (dwStubFlags & NDIRECTSTUB_FL_UNMANAGED_CALLI)); }
inline bool SF_IsStubWithCctorTrigger (DWORD dwStubFlags) { LIMITED_METHOD_CONTRACT; return (dwStubFlags < NDIRECTSTUB_FL_INVALID && 0 != (dwStubFlags & NDIRECTSTUB_FL_TRIGGERCCTOR)); }
inline bool SF_IsForNumParamBytes (DWORD dwStubFlags) { LIMITED_METHOD_CONTRACT; return (dwStubFlags < NDIRECTSTUB_FL_INVALID && 0 != (dwStubFlags & NDIRECTSTUB_FL_FOR_NUMPARAMBYTES)); }
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jkotas
Copy link
Member Author

jkotas commented Jan 8, 2021

The remaining test failures are known issues.

@jkotas jkotas requested a review from jkoritzinsky January 8, 2021 16:33
Copy link
Member

@trylek trylek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@jkotas jkotas merged commit 8427fa2 into dotnet:master Jan 8, 2021
@jkotas jkotas deleted the issue-46667 branch January 8, 2021 17:32
@ghost ghost locked as resolved and limited conversation to collaborators Feb 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Thousands failures failed with ndirect.m_cbStackArgumentSize != 0xFFFF

3 participants