aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectExpression.cpp
diff options
context:
space:
mode:
authorserge-sans-paille <serge.guelton@telecom-bretagne.eu>2023-10-10 19:19:23 +0000
committerGitHub <noreply@github.com>2023-10-10 19:19:23 +0000
commit97b989b27496d5aeadb3b90cbb9305ddcd9e35d2 (patch)
treeb3fc210c30c907a201ab8f0a1ef5563454789225 /lldb/source/Commands/CommandObjectExpression.cpp
parent135f57d179977136f920f8c975bb4b6ca056ec66 (diff)
downloadllvm-97b989b27496d5aeadb3b90cbb9305ddcd9e35d2.zip
llvm-97b989b27496d5aeadb3b90cbb9305ddcd9e35d2.tar.gz
llvm-97b989b27496d5aeadb3b90cbb9305ddcd9e35d2.tar.bz2
[compiler-rt] During profile flushing, setup SIGKILL mask earlier (#68622)
In multi threaded application, it is possible for one thread to terminate the program while another is flushing profile information. We setup a signal mask to delay SIGKILL so that we can safely flush the profile. This patch setups the mask earlier: it reduces the window during which a SIGKILL can end the computation prematurely. This fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1850940, where a profiled firefox was encountering several: LLVM Profile Error: Failed to write file "default_*.profraw": Broken pipe Co-authored-by: serge-sans-paille <sguelton@mozilla.com>
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
0 files changed, 0 insertions, 0 deletions