corda/sdk/cpprt/linux/cxa_finalize.c
Angie Chinchilla 9441de4c38 Initial release of Intel SGX for Linux.
This release is used in conjunction with the linux-sgx-driver Intial release:
https://github.com/01org/linux-sgx-driver
commit-id: 0e865ce5e6b297a787bcdc12d98bada8174be6d7

Intel-id: 33399

Signed-off-by: Angie Chinchilla <angie.v.chinchilla@intel.com>
2016-06-23 18:51:53 -04:00

9 lines
162 B
C

void __cxa_finalize(void *d ) { (void)d; };
extern void* __dso_handle;
__attribute((destructor))
static void cleanup(void) {
__cxa_finalize(&__dso_handle);
}