Child enclave has a C, C++, or Language Environment-conforming assembler main routine
Table 1 shows the unhandled condition behavior.
Condition | Parent enclave TRAP(ON) Child enclave TRAP(ON) |
Parent enclave TRAP(ON) Child enclave TRAP(OFF) |
Parent enclave TRAP(OFF) Child enclave TRAP(ON) |
Parent enclave TRAP(OFF) Child enclave TRAP(OFF) |
---|---|---|---|---|
Unhandled condition severity 0 or 1 | Resume child enclave | Resume child enclave | Resume child enclave | Resume child enclave |
Unhandled condition severity 2 or above | Resume parent enclave, and ignore condition | Resume parent enclave, and ignore condition | Resume parent enclave, and ignore condition | Resume parent enclave, and ignore condition |
Non-Language Environment abend | Resume parent enclave, and ignore condition | Process terminated with original abend code | Resume parent enclave, and ignore condition | Process terminated with original abend code |
Program check | Resume parent enclave, and ignore condition | Process terminated with abend U4036, Reason Code=2 | Resume parent enclave, and ignore condition | Process terminated with abend S0Cx |