[Lldb-commits] [PATCH] D75750: [lldb] integrate debuginfod

Jan Kratochvil via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 1 00:30:58 PDT 2020

jankratochvil added a comment.

In D75750#1954086 <https://reviews.llvm.org/D75750#1954086>, @clayborg wrote:

> Another idea for the SymbolServers: be able to specify a source repository (git, svn etc) and hash or revision ID. The symbol server can grab the source from the repo and cache is locally for display.

When you talk about it FYI I use "build-id" to "GIT hash" mapping text file during build to retrieve source files later according to binary's build-id. But it expects you do not strip symbols from the binaries as otherwise one cannot rebuild the binaries later ("reproducible build" problem - dependency on versions of system packages being updated in the meantime). https://www.jankratochvil.net/t/BUILDID-git-checkout
`debuginfod` solves this better although with higher storage requirements.

  rG LLVM Github Monorepo



More information about the lldb-commits mailing list