Extending LLDB to Debug Applications That Span CPUs and GPUs
Meta built a vendor-neutral accelerator plugin architecture in lldb-server to debug applications spanning CPUs and GPUs.
“Instead of hiding those differences, the LLDB accelerator architecture gives them a clear boundary.”
Meta Engineering developed a vendor-neutral accelerator plugin architecture for LLDB that represents CPU and GPU as separate debugger processes within a single debugging session, avoiding the complexity of forcing both into one artificial process model. This matters for AI developers who need to debug workloads that cross CPU/GPU boundaries with differing instruction sets, registers, and memory spaces, offering an alternative to vendor-specific tools like AMD's ROCgdb and NVIDIA's CUDA-GDB.