[PATCH] D136303: [Debuginfod] DEBUGINFOD_HEADERS_FILE environment variable.

Daniel Thornburgh via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 19 16:47:08 PDT 2022


mysterymath created this revision.
mysterymath added reviewers: phosek, jhenderson.
Herald added a subscriber: hiraditya.
Herald added a project: All.
mysterymath requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This change adds a DEBUGINFOD_HEADERS_FILE environment variable provides
a file containing HTTP headers to attach to outgoing HTTP requests, one
per line. This allows a file permissioned with OS access control
mechanisms to supply bearer credentials for Debuginfod requests.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136303

Files:
  llvm/include/llvm/Debuginfod/HTTPClient.h
  llvm/lib/Debuginfod/Debuginfod.cpp
  llvm/lib/Debuginfod/HTTPClient.cpp
  llvm/test/tools/llvm-debuginfod-find/Inputs/capture_req.py
  llvm/test/tools/llvm-debuginfod-find/Inputs/headers
  llvm/test/tools/llvm-debuginfod-find/headers.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136303.469082.patch
Type: text/x-patch
Size: 5488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221019/a57e0ad2/attachment.bin>


More information about the llvm-commits mailing list