diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2023-07-11 14:30:42 -0500 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2023-07-11 14:35:38 -0500 |
commit | a6080767268c04ab4dfcf22b12ac9f6ba6cf1a00 (patch) | |
tree | 0db3530f30805ddc3aed058bbee451b966402763 /clang/lib/Frontend/TestModuleFileExtension.cpp | |
parent | 8402ad23104b6b20f07596738b02a4ab101a8af9 (diff) | |
download | llvm-a6080767268c04ab4dfcf22b12ac9f6ba6cf1a00.zip llvm-a6080767268c04ab4dfcf22b12ac9f6ba6cf1a00.tar.gz llvm-a6080767268c04ab4dfcf22b12ac9f6ba6cf1a00.tar.bz2 |
[libc][Obvious] Check if the state hasn't already been destroyed on shutdown
This ensures that if someone calls the `rpc_shutdown` method multiple
times it will not segfault and gracefully continue. This was causing
problems in the OpenMP usage. This could point to other issues, but for
now this is a safe fix.
Differential Revision: https://reviews.llvm.org/D155005
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions