Repository navigation
Finish framework support for REAL_MULTIDIM_ARRAYS - #1383
Conversation
|
Run related CoreCLR tests to verify that it works. |
|
|
||
| // Get to unwind info | ||
| PTR_UNWIND_INFO pUnwindInfo(dac_cast<PTR_UNWIND_INFO>(m_moduleBase + pNativeMethodInfo->runtimeFunction->UnwindInfoAddress)); | ||
| uint8_t unwindBlockFlags = *(dac_cast<DPTR(uint8_t)>(pUnwindDataBlob) + unwindDataBlobSize); |
There was a problem hiding this comment.
This is fixing bug in handling of nested exceptions that I have run into along the way.
@janvorli Could you please take a look at this change? I think that the ELF code manager that you are working on should use the same logic. The frame pointer returned from here is just used to drive EH, so it just needs to be returned for anything that contains EH.
There was a problem hiding this comment.
Could you please put the unrelated stuff in a separate commit? It makes code archeology easier later.
|
@MichalStrehovsky Could you please take a look? |
| fixed (IntPtr* pThisArray = &m_pEEType) | ||
| { | ||
| // Lengths follow after _numComponents. | ||
| int* pLengths = (int*)pThisArray + 2 + PADDING; |
There was a problem hiding this comment.
I have doubts about this formula - if pThisArray points at the m_pEEType member shouldn't we be adding a pointer to go over m_pEEType, then an Int32 to go over the flattened lengths, and then an optional padding Int32?
|
LGTM otherwise. Thank you for finishing this! I was procrastinating this for too long. You can add "fixes #1103" to the commit message. |
No description provided.