Meta gives LLDB a plugin architecture to debug CPUs and GPUs in one session

Extending LLDB to Debug Applications That Span CPUs and GPUs

Meta gives LLDB a plugin architecture to debug CPUs and GPUs in one session

Meta has built a vendor-neutral accelerator plugin architecture into lldb-server, so a CPU and a GPU appear as two separate LLDB targets inside a single debugging session. Each keeps its own architecture, registers, and address space, while a hardware-specific plugin translates vendor APIs into concepts LLDB already understands. Most of the common framework is already upstreamed to LLVM, and a mock plugin lets the test suite verify the flow without real hardware.

Our goal is that integrating new hardware with LLDB should require only a vendor-specific plugin, not a separate debugger to build and maintain.
  1. djmips

    I wrote a spiritual ancestor that worked under soft ice in the mod nineties to debug the CPU and GPU in one session. I love to see it.

  2. henrymerrilees

    Very cool! When I was working through the Mojo puzzles, I found it a bit ironic that I had to use CUDA-gdb.

  3. saagarjha

    Neat! But…is Nvidia going to support it?

More from this day

2026-11-14