aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorJames Robinson <jamesr@users.noreply.github.com>2024-02-20 09:49:20 -0800
committerGitHub <noreply@github.com>2024-02-20 09:49:20 -0800
commit7f3980a7b2c9f95ab3b106a94fe6e63158155b0b (patch)
tree233b52a337d816d83c9126991ee763573383ad86 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentd2942a86d7b8fc4cba4f73294efb53a3e47dc751 (diff)
downloadllvm-7f3980a7b2c9f95ab3b106a94fe6e63158155b0b.zip
llvm-7f3980a7b2c9f95ab3b106a94fe6e63158155b0b.tar.gz
llvm-7f3980a7b2c9f95ab3b106a94fe6e63158155b0b.tar.bz2
[Fuzzer] Use user signal to coordinate handler shutdown (#82067)
This updates the signal handle thread coordinating to use a user signal bit on the SignalHandlerEvent to coordinate shutdown instead of closing the event handle. Closing the event handle is racy as the handle may be closed before the signal handler thread resolves the handle value in _zx_object_wait_many() and we would like to make this an explicit error. Using the user signal bit 1 instead and then closing the event object after the signal handler thread is joined cannot race as the wait will terminate whether the signal is raised before or after the wait begins.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions