Currently the SSA frame size is 1 page. Enclaves built with the SGX SDK have 2 SSA frames per thread context to support handling one asynchronous exception, i.e. nested exceptions aren't supported.
Nested exception is not supported in SGX?
But i read the user guide in that they mentioned SGX supports nesting of exceptions.
Could you please clarify my doubt whether my understanding is correct or not..
Nested exceptions are not supported in the Windows SGX SDK, although they could be supported in SGX.
Could you provide a reference (version of the document and page)? Thanks.
Yes, that reference matches my comment. SGX could support nested exceptions if multiple SSA frames are defined. Currently the SGX SDK Windows defines 2 SSA frames and doesn't support nesting exceptions. On the other hand, the Linux SDK does support nested exceptions.