Extending LLDB to Debug Applications That Span CPUs and GPUs
Summary
The article describes a vendor-neutral accelerator plugin architecture in lldb-server to debug applications that span CPUs and GPUs. It explains representing the CPU and GPU as separate debugger processes within one debugging session, enabling a unified workflow while maintaining device-specific control. It also covers a two-target debugging model, coordination between host and device, and plans to upstream the framework to LLVM with mock accelerator testing.