[PATCH] D118413: [Debuginfod] [Symbolizer] Break debuginfod out of libLLVM.

Daniel Thornburgh via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 27 15:52:21 PST 2022


mysterymath created this revision.
mysterymath added reviewers: phosek, tstellar, dblaikie.
Herald added subscribers: rupprecht, hiraditya, krytarowski, mgorny.
Herald added a reviewer: jhenderson.
mysterymath requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.

Debuginfod can pull in libcurl as a dependency, which isn't appropriate
for libLLVM. (See
https://gitlab.freedesktop.org/mesa/mesa/-/issues/5732).

This change breaks out debuginfod into a separate non-component library
that can be used directly in llvm-symbolizer. The tool can inject
debuginfod into the Symbolizer library via an abstract DebugInfoFetcher
interface, breaking the dependency of Symbolizer on debuinfod.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118413

Files:
  llvm/include/llvm/DebugInfo/Symbolize/DebugInfoFetcher.h
  llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h
  llvm/include/llvm/Debuginfod/DIFetcher.h
  llvm/lib/DebugInfo/Symbolize/CMakeLists.txt
  llvm/lib/DebugInfo/Symbolize/DebugInfoFetcher.cpp
  llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
  llvm/lib/Debuginfod/CMakeLists.txt
  llvm/lib/Debuginfod/DIFetcher.cpp
  llvm/tools/llvm-debuginfod-find/CMakeLists.txt
  llvm/tools/llvm-symbolizer/CMakeLists.txt
  llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
  llvm/unittests/Debuginfod/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118413.403823.patch
Type: text/x-patch
Size: 21005 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220127/e234ecc3/attachment.bin>


More information about the llvm-commits mailing list