Loading…
Topic
LLVM
2 posts about LLVM. Every summary links to the original.
- 2 posts
- 2 companies
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Posts
How well is ClickHouse tested? A detailed view of increasing our own coverage
ClickHouse, with 2.6 million lines of C++ and over 80 daily pull requests, needed an automated way to assess test coverage. The team implemented Clang source-based coverage instrumentation, running 23 CI shards every three hours to produce a merged report. As of November 2026, the tests cover 91.8% of lines, 81.0% of branches, and 91.8% of functions. A differential coverage check on every PR compares the change against up to seven master baselines and gates merges if line coverage drops more than 0.3 percentage points. The team plans to pursue mutation testing and reduce the noise floor from background threads in future iterations.
Extending LLDB to Debug Applications That Span CPUs and GPUs
Meta developed a vendor-neutral accelerator plugin architecture in lldb-server for debugging applications that span CPUs and GPUs. The design separates shared debugger infrastructure from hardware-specific device control by representing the CPU and GPU as separate LLDB targets. A plugin in lldb-server coordinates host and device debugging, translating a vendor’s device debugging API into concepts LLDB already understands. GPU debugging is activated only when the application uses a supported GPU runtime, leaving CPU-only debugging unaffected. The common framework, including the plugin interface and GDB-remote packets, has been upstreamed to LLVM, with remaining pieces expected soon.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.