[Lldb-commits] [clang] [compiler-rt] [clang-tools-extra] [mlir] [libunwind] [libcxxabi] [llvm] [lldb] [libcxx] [flang] [lld] [libc] [asan] Install `pthread_atfork` (PR #75290)

2023-12-21 Thread Rainer Orth via lldb-commits
rorth wrote: > I'll give such a patch a try... That would be something like ``` int internal_fork(void) { // Call syscall directly to avoid pthread_atfork handler processing. // // This is highly unportable on Solaris since syscalls are an implementation // detail subject to change.

[Lldb-commits] [libcxx] [libc] [clang] [lldb] [libcxxabi] [libunwind] [lld] [compiler-rt] [llvm] [clang-tools-extra] [flang] [mlir] [asan] Install `pthread_atfork` (PR #75290)

2023-12-19 Thread Rainer Orth via lldb-commits
rorth wrote: It took me a bit to notice this snippet in `sanitizer_solaris.cpp`: ``` DECLARE__REAL_AND_INTERNAL(int, fork, void) { // TODO(glider): this may call user's pthread_atfork() handlers which is bad. return _REAL(fork)(); } ``` which didn't show up in searches for `internal_fork`.

[Lldb-commits] [libunwind] [compiler-rt] [mlir] [llvm] [lld] [flang] [lldb] [libcxx] [libcxxabi] [clang] [libc] [clang-tools-extra] [asan] Install `pthread_atfork` (PR #75290)

2023-12-15 Thread Rainer Orth via lldb-commits
rorth wrote: Since this patch, all asan tests loop on Solaris. This had been hidden for a bit by an unrelated extended build breakage on the bots, but now every `ninja check-all` on the Solaris/amd64 bot times out. I could trace this to this patch. E.g. when running

[Lldb-commits] [lldb] r367865 - [lldb][clang] Reflect LangStandard.h move to clang/Basic

2019-10-04 Thread Rainer Orth via lldb-commits
Author: ro Date: Mon Aug 5 07:00:43 2019 New Revision: 367865 URL: http://llvm.org/viewvc/llvm-project?rev=367865=rev Log: [lldb][clang] Reflect LangStandard.h move to clang/Basic D65562 moves LangStandard.h from clang/Frontend to clang/Basic. This patch