When a function does a dynamic stack allocation, is it impossible to know the size of the stack statically. If such a function uses stackmaps, then the stack size field is populated with UINT64_MAX to indicate this, however this is not tested or documented.
This change tests and documents this case.
Brought to my attention by @ptersilie , thanks.
I'm surprised this isn't eliminated as dead