[llvm] [Debuginfo] Add llvm-debuginfod-find tool and end-to-end-tests.
authorNoah Shutty <shutty@google.com>
Tue, 14 Dec 2021 17:29:17 +0000 (17:29 +0000)
committerNoah Shutty <shutty@google.com>
Tue, 14 Dec 2021 18:00:18 +0000 (18:00 +0000)
commitf0ca8d2461a7f3c8b092f4f58451dc7b9bf4f28b
tree624b107e6cdaceaeed4a942cecb18a17cf570ef8
parent71e97ad35b2abcc89cc8ff471a3eb404120cf208
[llvm] [Debuginfo] Add llvm-debuginfod-find tool and end-to-end-tests.

This implements the `llvm-debuginfod-find` tool, which wraps the Debuginfod library (D112758) to query debuginfod servers for artifacts according to the [[ https://www.mankier.com/8/debuginfod#Webapi | specification ]].

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D112759
llvm/test/CMakeLists.txt
llvm/test/lit.cfg.py
llvm/test/lit.site.cfg.py.in
llvm/test/tools/llvm-debuginfod-find/Inputs/buildid/abcdef/debuginfo [new file with mode: 0644]
llvm/test/tools/llvm-debuginfod-find/Inputs/buildid/abcdef/executable [new file with mode: 0644]
llvm/test/tools/llvm-debuginfod-find/Inputs/buildid/abcdef/source/directory/file.c [new file with mode: 0644]
llvm/test/tools/llvm-debuginfod-find/debuginfod.test [new file with mode: 0644]
llvm/tools/llvm-debuginfod-find/CMakeLists.txt [new file with mode: 0644]
llvm/tools/llvm-debuginfod-find/llvm-debuginfod-find.cpp [new file with mode: 0644]