summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2022-12-12 11:33:52 -0600
committerJonathan Peyton <jonathan.l.peyton@intel.com>2023-01-16 22:42:18 -0600
commit0aa5aebd0ace94cfb6b975b16024fe90a6139acf (patch)
tree5427616828ec3bd739bfba28754284c75969b1a8 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent4a64024c1410692197e4b54e27e7b269a67c78f4 (diff)
[OpenMP][libomp] Fix macOS 12 library destruction
When building the library with icc and using it on macOS 12, the library destruction process is skipped which has many OMPT tests failing for macOS 12. This change registers the __kmp_internal_end_library() call for atexit() which will be a harmless, redundant call for macOS 11 and below and the only destructor called for macOS 12+. Differential Revision: https://reviews.llvm.org/D139857
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions