function_in_enclave(eid1) <---- e-called
Is this possible??
No, this is not supported. If you need two enclaves, you create them both from the untrusted app and then can use local attestation to communicate between the two if need be.
For more complete information about compiler optimizations, see our Optimization Notice.