[PATCH] D111252: [llvm] [Support] [Debuginfo] Add http and debuginfod client libraries and llvm-debuginfod-find tool

Noah Shutty via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 21 10:18:24 PDT 2021


noajshu updated this revision to Diff 381311.
noajshu added a comment.

Add `debuginfod-find.test` which is simpler and less general-purpose, and does not require special command-line quoting behavior or JSON configuration.
This test incorporates Pavel's suggestion to assign the port to the first available, and avoids using timing to orchestrate the client and server. This would replace the `llvm-debuginfod-find.test` + `client-server-test.py` scheme.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111252/new/

https://reviews.llvm.org/D111252

Files:
  llvm/CMakeLists.txt
  llvm/include/llvm/Debuginfod/Debuginfod.h
  llvm/include/llvm/Support/HTTPClient.h
  llvm/lib/CMakeLists.txt
  llvm/lib/Debuginfod/CMakeLists.txt
  llvm/lib/Debuginfod/Debuginfod.cpp
  llvm/lib/Support/CMakeLists.txt
  llvm/lib/Support/HTTPClient.cpp
  llvm/test/lit.cfg.py
  llvm/test/lit.site.cfg.py.in
  llvm/test/tools/llvm-debuginfod/Inputs/buildid/fake_build_id/debuginfo
  llvm/test/tools/llvm-debuginfod/Inputs/buildid/fake_build_id/executable
  llvm/test/tools/llvm-debuginfod/Inputs/buildid/fake_build_id/source/directory/file.c
  llvm/test/tools/llvm-debuginfod/client-server-test.py
  llvm/test/tools/llvm-debuginfod/debuginfod-find.test
  llvm/test/tools/llvm-debuginfod/llvm-debuginfod-find.test
  llvm/tools/llvm-debuginfod/CMakeLists.txt
  llvm/tools/llvm-debuginfod/llvm-debuginfod-find.cpp
  llvm/unittests/CMakeLists.txt
  llvm/unittests/Debuginfod/CMakeLists.txt
  llvm/unittests/Debuginfod/DebuginfodTests.cpp
  llvm/unittests/Support/CMakeLists.txt
  llvm/unittests/Support/HTTPClient.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111252.381311.patch
Type: text/x-patch
Size: 29297 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211021/6dcca58a/attachment.bin>


More information about the llvm-commits mailing list