Nice! I’ll try to test this over Christmas. The existing lldb support had two problems that impacted me:
It couldn’t debug anything before main, so rtld bugs and things in ifunc implementations just crashed and exited the child process without the debugger attaching.
It didn’t have a mechanism for following processes created with pdfork so I ended up having to implement a fork-based fallback for debugging. This was somewhat better than gdb where a call to pdfork in the debugged process caused the debugger to lock up entirely and need kill -9.
Nice! I’ll try to test this over Christmas. The existing lldb support had two problems that impacted me:
main
, sortld
bugs and things inifunc
implementations just crashed and exited the child process without the debugger attaching.pdfork
so I ended up having to implement a fork-based fallback for debugging. This was somewhat better than gdb where a call topdfork
in the debugged process caused the debugger to lock up entirely and needkill -9
.