[all-commits] [llvm/llvm-project] 32a02a: [Debuginfod] DEBUGINFOD_HEADERS_FILE environment v...
Daniel Thornburgh via All-commits
all-commits at lists.llvm.org
Mon Nov 7 16:34:51 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 32a02a9c6bad489ce7c02f3f0b306a8fc1e67fd5
https://github.com/llvm/llvm-project/commit/32a02a9c6bad489ce7c02f3f0b306a8fc1e67fd5
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2022-11-07 (Mon, 07 Nov 2022)
Changed paths:
M llvm/include/llvm/Debuginfod/HTTPClient.h
M llvm/lib/Debuginfod/Debuginfod.cpp
M llvm/lib/Debuginfod/HTTPClient.cpp
A llvm/test/tools/llvm-debuginfod-find/Inputs/capture_req.py
A llvm/test/tools/llvm-debuginfod-find/Inputs/headers
A llvm/test/tools/llvm-debuginfod-find/headers.test
Log Message:
-----------
[Debuginfod] DEBUGINFOD_HEADERS_FILE environment variable
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.
This matches the mechanism recently added to elfutils' libdebuginfod.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D136303
More information about the All-commits
mailing list