You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.
The C library function atexit allows a programmer to register a function that is called before a program terminates. We need to intrinsify this function in Sulong since we cannot simply pass a Truffle function to the native side (see #57). The implementation would be conceptually similar to the constructor and destructor attributes (see #214). In the LLVM test suite there is a test case test-suite-3.2.src/SingleSource/UnitTests/2003-05-14-AtExit.c that could validate the implementation.
The text was updated successfully, but these errors were encountered:
The C library function
atexit
allows a programmer to register a function that is called before a program terminates. We need to intrinsify this function in Sulong since we cannot simply pass a Truffle function to the native side (see #57). The implementation would be conceptually similar to the constructor and destructor attributes (see #214). In the LLVM test suite there is a test casetest-suite-3.2.src/SingleSource/UnitTests/2003-05-14-AtExit.c
that could validate the implementation.The text was updated successfully, but these errors were encountered: