aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2018-10-02 19:15:04 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2018-10-02 19:15:04 +0000
commit8bb8a92de9fb63925acf402099d3e71b471aeeef (patch)
treef65d1f0cae6811fef3cb1fcac1b38ba308d667fc /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parent3ca4701d357d838800c62698e27da55847c9a517 (diff)
downloadllvm-8bb8a92de9fb63925acf402099d3e71b471aeeef.zip
llvm-8bb8a92de9fb63925acf402099d3e71b471aeeef.tar.gz
llvm-8bb8a92de9fb63925acf402099d3e71b471aeeef.tar.bz2
[OpenMP] Shutdown library on Windows if possible for better OMPT behavior
On Windows, child workers are terminated by the parent during the normal program exit process (ExitProcess()) and they are not able to finish generating their OpenMP events. We can force manual library shut down in __kmpc_end() to fix this at least for the cases where __kmpc_end() is properly inserted. Patch by Hansang Bae Differential Revision: https://reviews.llvm.org/D52628 llvm-svn: 343619
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions