[NFC] [Object] Create library to fetch debug info by build ID.
authorDaniel Thornburgh <dthorn@google.com>
Tue, 23 Aug 2022 20:39:33 +0000 (13:39 -0700)
committerDaniel Thornburgh <dthorn@google.com>
Wed, 28 Sep 2022 20:35:35 +0000 (13:35 -0700)
commite61d89efd78b17f4969c9a394f480367307c7132
tree2802a1819697f1f4ec0909ec2a44e7769947d7e5
parent97f919820b075fe49393405bf0ea990cf820ffeb
[NFC] [Object] Create library to fetch debug info by build ID.

This creates a library for fetching debug info by build ID, whether
locally or remotely via debuginfod. The functionality was refactored
out of existing code in the Symboliize library. Existing utilities
were refactored to use this library.

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D132504
18 files changed:
llvm/include/llvm/DebugInfo/Symbolize/DIFetcher.h [deleted file]
llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h
llvm/include/llvm/Debuginfod/BuildIDFetcher.h [moved from llvm/include/llvm/Debuginfod/DIFetcher.h with 55% similarity]
llvm/include/llvm/Debuginfod/Debuginfod.h
llvm/include/llvm/Object/BuildID.h [new file with mode: 0644]
llvm/include/llvm/Object/ObjectFile.h
llvm/lib/DebugInfo/Symbolize/CMakeLists.txt
llvm/lib/DebugInfo/Symbolize/DIFetcher.cpp [deleted file]
llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
llvm/lib/Debuginfod/BuildIDFetcher.cpp [moved from llvm/lib/Debuginfod/DIFetcher.cpp with 74% similarity]
llvm/lib/Debuginfod/CMakeLists.txt
llvm/lib/Debuginfod/Debuginfod.cpp
llvm/lib/Object/BuildID.cpp [new file with mode: 0644]
llvm/lib/Object/CMakeLists.txt
llvm/lib/Object/ObjectFile.cpp
llvm/tools/llvm-debuginfod-find/CMakeLists.txt
llvm/tools/llvm-debuginfod-find/llvm-debuginfod-find.cpp
llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp