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
Event Timeline
| lldb/packages/Python/lldbsuite/test/functionalities/postmortem/netbsd-core/2lwp_process_SIGSEGV.c | ||
|---|---|---|
| 11–12 | Just style, but I would use while (1) continue; | |
| 34 | 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; | |
Just style, but I would use while (1) continue;