[all-commits] [llvm/llvm-project] 4a6553: [Debuginfod] [Symbolizer] Break debuginfod out of ...

Daniel Thornburgh via All-commits all-commits at lists.llvm.org
Tue Feb 8 11:14:33 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4a6553f4c2be4db429183091f620c5466f87e05c
      https://github.com/llvm/llvm-project/commit/4a6553f4c2be4db429183091f620c5466f87e05c
  Author: Daniel Thornburgh <dthorn at google.com>
  Date:   2022-02-08 (Tue, 08 Feb 2022)

  Changed paths:
    A llvm/include/llvm/DebugInfo/Symbolize/DIFetcher.h
    M llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h
    A llvm/include/llvm/Debuginfod/DIFetcher.h
    M llvm/lib/DebugInfo/Symbolize/CMakeLists.txt
    A llvm/lib/DebugInfo/Symbolize/DIFetcher.cpp
    M llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
    M llvm/lib/Debuginfod/CMakeLists.txt
    A llvm/lib/Debuginfod/DIFetcher.cpp
    M llvm/tools/llvm-debuginfod-find/CMakeLists.txt
    M llvm/tools/llvm-symbolizer/CMakeLists.txt
    M llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
    M llvm/unittests/Debuginfod/CMakeLists.txt

  Log Message:
  -----------
  [Debuginfod] [Symbolizer] Break debuginfod out of libLLVM.

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.

See https://github.com/llvm/llvm-project/issues/52731

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D118413




More information about the All-commits mailing list