LLVM Adds An HTTP Server For Debuginfod

Written by Michael Larabel in LLVM on 11 July 2022 at 01:30 PM EDT. 13 Comments
LLVM
Merged prior to the weekend into LLVM 15 was a basic web server implementation.

Similar to GNU Binutils 2.34 adding an optional HTTP server, LLVM 15 is adding a basic web server for debuginfod. In both cases this HTTP server is just for distributing ELF/DWARF debugging information and source code to clients. Developer clients can query the web servers for debug files not otherwise found locally on a given system. Debuginfod opens interesting and new capabilities for boosting developer workflows.

The GNU Debugger (GDB) added debuginfod integration, among other open-source developer tools embracing it. Arch Linux, Fedora, and Debian have been among the distributions embracing debuginfod.


Merged this past week was a minimal HTTP server for LLVM wrapping around cpp-httplib, a C++ header-only HTTP/HTTPS server and client library. With that there is now an LLVM debuginfod server available starting with LLVM 15.

Those wanting to learn more information on the debuginfo server background can see this 2019 Red Hat blog post.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week