llvm-project/llvm/tools/llvm-symbolizer
Daniel Thornburgh 694f384553 [Debuginfod] Flag-determine debuginfod lookups in llvm-symbolizer.
This change adds a pair of flags controlling whether llvm-symbolizer
attempts debuginfod lookups. Lookups are attempted if --debuginfod is
passed and disabled if --no-debuginfod is passed.

The default behavior is made more nuanced: debuginfod lookups are now
only attempted if an HTTP client is compiled in and at least one backing
debuginfod URL was configured via environment variable. Previously,
debuginfod lookups would always be attempted, even if there were no
chance that they could succeed.

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D118665
2022-02-09 22:20:54 +00:00
..
CMakeLists.txt [Debuginfod] [Symbolizer] Break debuginfod out of libLLVM. 2022-02-08 19:14:18 +00:00
Opts.td [Debuginfod] Flag-determine debuginfod lookups in llvm-symbolizer. 2022-02-09 22:20:54 +00:00
llvm-symbolizer.cpp [Debuginfod] Flag-determine debuginfod lookups in llvm-symbolizer. 2022-02-09 22:20:54 +00:00