commit | 4cd24926383436a663b21da8d93cabd33d471621 | [log] [tgz] |
---|---|---|
author | Mitch Phillips <31459023+hctim@users.noreply.github.com> | Tue Feb 02 14:32:28 2021 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Feb 05 03:26:16 2021 -0800 |
tree | 7c39d4b28fb97396012a53c49702847103f9e5ed | |
parent | 726be38d7400cf81fa9c0fbcd3106b770db1ee70 [diff] |
[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 GitOrigin-RevId: 30973f6fe01cc0a9624147466f0c54b91a1b61d7