aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-debuginfod-find/CMakeLists.txt
diff options
context:
space:
mode:
authorNoah Shutty <shutty@google.com>2021-12-10 10:22:15 +0000
committerNoah Shutty <shutty@google.com>2021-12-10 10:33:52 +0000
commit350fe22f2a7f16791f9269fd50f1fca1e7fa74d1 (patch)
tree22293cc5eca3a13af3e9885e0bb17599bf84e38e /llvm/tools/llvm-debuginfod-find/CMakeLists.txt
parent978883d254fdb882266f529b4bd404d0ece37732 (diff)
downloadllvm-350fe22f2a7f16791f9269fd50f1fca1e7fa74d1.zip
llvm-350fe22f2a7f16791f9269fd50f1fca1e7fa74d1.tar.gz
llvm-350fe22f2a7f16791f9269fd50f1fca1e7fa74d1.tar.bz2
[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
Diffstat (limited to 'llvm/tools/llvm-debuginfod-find/CMakeLists.txt')
-rw-r--r--llvm/tools/llvm-debuginfod-find/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/tools/llvm-debuginfod-find/CMakeLists.txt b/llvm/tools/llvm-debuginfod-find/CMakeLists.txt
new file mode 100644
index 0000000..e6badb5
--- /dev/null
+++ b/llvm/tools/llvm-debuginfod-find/CMakeLists.txt
@@ -0,0 +1,10 @@
+set(LLVM_LINK_COMPONENTS
+ Debuginfod
+ Support
+ )
+add_llvm_tool(llvm-debuginfod-find
+ llvm-debuginfod-find.cpp
+ )
+if(LLVM_INSTALL_BINUTILS_SYMLINKS)
+ add_llvm_tool_symlink(debuginfod-find llvm-debuginfod-find)
+endif()