diff options
author | Mitch Phillips <31459023+hctim@users.noreply.github.com> | 2021-02-02 14:32:28 -0800 |
---|---|---|
committer | Mitch Phillips <31459023+hctim@users.noreply.github.com> | 2021-02-02 14:44:35 -0800 |
commit | 30973f6fe01cc0a9624147466f0c54b91a1b61d7 (patch) | |
tree | b37eb566aef209f33ad906a75f4b4e4c8b40ef8f /llvm/utils/FileCheck/FileCheck.cpp | |
parent | 9dc06762470cb5a6cde8de5833cb75262e1bacb0 (diff) | |
download | llvm-30973f6fe01cc0a9624147466f0c54b91a1b61d7.zip llvm-30973f6fe01cc0a9624147466f0c54b91a1b61d7.tar.gz llvm-30973f6fe01cc0a9624147466f0c54b91a1b61d7.tar.bz2 |
[GWP-ASan] Add locking around unwinder for atfork protection.
Unwinders (like libc's backtrace()) can call their own locks (like the
libdl lock). We need to let the unwinder release the locks before
forking. Wrap a new lock around the unwinder for atfork protection.
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D95889
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions