mirror of
https://github.com/intel/llvm.git
synced 2026-01-30 14:07:28 +08:00
atexit registered functions run earlier so `__attribute__((destructor))` annotated functions cannot be tracked. Set a priority of 100 (compatible with GCC 7 onwards) to track destructors and destructors whose priorities are greater than 100. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7970 Reviewed By: calixte, marco-c Differential Revision: https://reviews.llvm.org/D82253