aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorTodd Erdner <todd.erdner@intel.com>2020-12-01 00:39:52 +0300
committerAndreyChurbanov <andrey.churbanov@intel.com>2020-12-01 00:40:47 +0300
commit9615890db576721fbd73ae77d81d39435e83b4b4 (patch)
treeea936d09a2abc7a1d9c9881d012faabc13224726 /clang/lib/Lex/ModuleMap.cpp
parentf6f28b44ad48e35d1300693d9c34f47782b519a4 (diff)
downloadllvm-9615890db576721fbd73ae77d81d39435e83b4b4.zip
llvm-9615890db576721fbd73ae77d81d39435e83b4b4.tar.gz
llvm-9615890db576721fbd73ae77d81d39435e83b4b4.tar.bz2
[OpenMP] libomp: change shm name to include UID, call unregister_lib on SIGTERM
With the change to using shared memory, there were a few problems that need to be fixed. - The previous filename that was used for SHM only used process id. Given that process is usually based on 16bit number, this was causing some conflicts on machines. Thus we add UID to the name to prevent this. - It appears under some conditions (SIGTERM, etc) the shared memory files were not getting cleaned up. Added a call to clean up the shm files under those conditions. For this user needs to set envirable KMP_HANDLE_SIGNALS to true. Patch by Erdner, Todd <todd.erdner@intel.com> Differential Revision: https://reviews.llvm.org/D91869
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions