hanchenye-llvm-project/openmp/libomptarget/test/offloading
Alexey Bataev 63cef621f9 [LIBOMPTARGET]Fix PR44933: fix crash because of the too early deinitialization of libomptarget.
Summary:
Instead of using global variables with unpredicted time of
deinitialization, use dynamically allocated variables with functions
explicitly marked as global constructor/destructor and priority. This
allows to prevent the crash because of the incorrect order of dynamic
libraries deinitialization.

Reviewers: grokos, hfinkel

Subscribers: caomhin, kkwli0, openmp-commits

Tags: #openmp

Differential Revision: https://reviews.llvm.org/D74837
2020-02-25 15:54:37 -05:00
..
dynamic_module.c [LIBOMPTARGET]Ignore empty target descriptors. 2020-01-10 09:45:27 -05:00
dynamic_module_load.c [LIBOMPTARGET]Fix PR44933: fix crash because of the too early deinitialization of libomptarget. 2020-02-25 15:54:37 -05:00
looptripcnt.c [OPENMP] Resolve lost LoopTripCnt for subsequent loops in same thread. 2019-07-17 17:07:52 +00:00
offloading_success.c
offloading_success.cpp
parallel_offloading_map.c [OPENMP]Fix the test, NFC. 2020-02-13 10:40:06 -05:00
requires.c [OpenMP][libomptarget] Add support for unified memory for regular maps 2019-08-07 17:29:45 +00:00
target_depend_nowait.cpp