aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorKevin Frei <kevinfrei@users.noreply.github.com>2023-12-04 11:45:40 -0800
committerGitHub <noreply@github.com>2023-12-04 11:45:40 -0800
commitc43c86c285a39dcc6ec4a15b8f155152031b3997 (patch)
tree9bfec4ce3bd609682d6df8fe9586db1e5dc30ac4 /clang/lib/Frontend/CompilerInvocation.cpp
parent6886a52d6dbefff77f33de12ff85d654e2557f81 (diff)
downloadllvm-c43c86c285a39dcc6ec4a15b8f155152031b3997.zip
llvm-c43c86c285a39dcc6ec4a15b8f155152031b3997.tar.gz
llvm-c43c86c285a39dcc6ec4a15b8f155152031b3997.tar.bz2
DEBUGINFOD based DWP acquisition for LLDB (#70996)
I've plumbed the LLVM DebugInfoD client into LLDB, and added automatic downloading of DWP files to the SymbolFileDWARF.cpp plugin. If you have DEBUGINFOD_URLS set to a space delimited set of web servers, LLDB will try to use them as a last resort when searching for DWP files. If you do *not* have that environment variable set, nothing should be changed. There's also a setting, per @clayborg 's suggestion, that will override the environment variable, or can be used instead of the environment variable. The setting is why I also needed to add an API to the llvm-debuginfod library ### Test Plan: Suggestions are welcome here. I should probably have some positive and negative tests, but I wanted to get the diff up for people who have a clue what they're doing to rip it to pieces before spending too much time validating the initial implementation. --------- Co-authored-by: Kevin Frei <freik@meta.com> Co-authored-by: Alex Langford <nirvashtzero@gmail.com>
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions