1. 14
  1.  

  2. 2

    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.