llvm-project/compiler-rt/test/orc
luxufan 590326382d [Orc] Support atexit in Orc(JITLink)
There is a bug reported at https://bugs.llvm.org/show_bug.cgi?id=48938

After looking through the glibc, I found the `atexit(f)` is the same as `__cxa_atexit(f, NULL, NULL)`. In orc runtime, we identify different JITDylib by their dso_handle value, so that a NULL dso_handle is invalid. So in this patch, I added a `PlatformJDDSOHandle` to ELFNixRuntimeState, and functions which are registered by atexit will be registered at PlatformJD.

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D111413
2021-10-09 12:25:47 +08:00
..
TestCases [Orc] Support atexit in Orc(JITLink) 2021-10-09 12:25:47 +08:00
CMakeLists.txt [ORC-RT] Add target dependencies to ORC-RT regression tests. 2021-09-28 22:08:47 -07:00
lit.cfg.py [ORC][ORC-RT] Reapply "Introduce ELF/*nix Platform and runtime..." with fixes. 2021-08-27 14:41:58 +10:00
lit.site.cfg.py.in [ORC-RT] Re-apply "Initial ORC Runtime directories and build..." with fixes. 2021-04-24 16:00:20 -07:00