[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
Mon Oct 18 16:32:10 PDT 2021
noajshu updated this revision to Diff 380544.
noajshu added a comment.
Gracefully fall back to std::vector buffer if Content-Length is not specified in HTTP response.
Note that this is ~24x slower for a 3GB download. libCURL executes the callback once per 1KB on average.
Also moved static callback functions and OffsetBuffer inside an anonymous namespace in HTTPClient.cpp.
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/find-debuginfod-asset.py
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.380544.patch
Type: text/x-patch
Size: 25561 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211018/1a093727/attachment.bin>
More information about the llvm-commits
mailing list