Fix 2lwp_process_SIGSEGV NetBSD core test to terminate inside regular
function rather than libc call, in order to get reproducible backtrace
on different platforms.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lldb/packages/Python/lldbsuite/test/functionalities/postmortem/netbsd-core/2lwp_process_SIGSEGV.c | ||
---|---|---|
9 ↗ | (On Diff #189989) | Just style, but I would use while (1) continue; |
31 ↗ | (On Diff #189989) | It's a style but I would replace sleep(1) with a global volatile int that is switched in bar and here we could wait with: while (!initialized) continue; |