Hello,
I need to use in my application two enclaves and both of them have trusted ecalls with the same names. E.g.:
//Enclave1/enclave1.edl: enclave { trusted { public void foo(); }; } //Enclave2/enclave2.edl: enclave { trusted { public void foo(); }; }
Foos are two different functions with the same name and parameters. Resulting enclave header and object files have the same declaration and body:
//App/Enclave1_u.h: sgx_status_t foo(sgx_enclave_id_t eid); //App/Enclave2_u.h: sgx_status_t foo(sgx_enclave_id_t eid);
I didn't find any namespace mentioning or renaming options. What could I do in this situation?
Thank you
Link Copied
For more complete information about compiler optimizations, see our Optimization Notice.