[PATCH] D114415: [llvm] [Support] Add HTTP Server Support library.

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 29 16:34:52 PST 2021


dblaikie added a comment.

In D114415#3159988 <https://reviews.llvm.org/D114415#3159988>, @phosek wrote:

> In D114415#3159905 <https://reviews.llvm.org/D114415#3159905>, @dblaikie wrote:
>
>> What's the ultimate use intended for this? For testing the debuginfod client functionality (the llvm-symbolizer functionality is tested with a smaller(?) python http server - perhaps that could be used more & we could avoid having this C++ HTTP server implementation?)?
>
> It's for the server part of the LLVM debuginfod implementation. elfutils debuginfod has two parts: (1) `debuginfod-find` client and the corresponding library that could be integrated into other tools and (2) `debuginfod` which is a small daemon that periodically scans a set of directories, indexes any debugging information it finds and serves it over the builtin HTTP server using the debuginfod protocol. We have been focusing on #1 so far but we would also like to implement #2 which is really important for local development. https://groups.google.com/g/llvm-dev/c/jFdq0qYtKqM/m/1dLcYUGBBAAJ has more details.

Oh, fair enough - just checking it wasn't only being implemented for testing. Would the python script from the llvm-symbolizer test be adequate for the production/local developer scenarios you have in mind? (I don't mind the C++ too much, but just trying to understand the landscape, tradeoffs, etc)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114415/new/

https://reviews.llvm.org/D114415



More information about the llvm-commits mailing list