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

Konrad Wilhelm Kleine via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 6 08:14:00 PST 2020


kwk created this revision.
Herald added subscribers: lldb-commits, mgorny.
Herald added a project: LLDB.
kwk planned changes to this revision.

This first patch does the heavy lifting of bootstrapping debuginfod with
CMake and integrating it to find a source file using debuginfod when
using `(lldb) source list` and the file cannot be found locally.

TODOs:

- tests are missing
- fetching debuginfo from debuginfod is missing

Read more about debuginfod here:
https://sourceware.org/elfutils/Debuginfod.html


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75750

Files:
  lldb/cmake/modules/FindDebuginfod.cmake
  lldb/cmake/modules/LLDBConfig.cmake
  lldb/include/lldb/Host/Config.h.cmake
  lldb/include/lldb/Host/DebugInfoD.h
  lldb/packages/Python/lldbsuite/test/lldbtest.py
  lldb/source/Core/SourceManager.cpp
  lldb/source/Host/CMakeLists.txt
  lldb/source/Host/common/DebugInfoD.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75750.248734.patch
Type: text/x-patch
Size: 12976 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200306/f34d625b/attachment.bin>


More information about the lldb-commits mailing list