[llvm-objdump] Find debug information with Build ID/debuginfod.
authorDaniel Thornburgh <dthorn@google.com>
Tue, 23 Aug 2022 20:44:30 +0000 (13:44 -0700)
committerDaniel Thornburgh <dthorn@google.com>
Mon, 3 Oct 2022 23:17:45 +0000 (16:17 -0700)
commitd033ece0c985d3f89c261d030ff2ff1d9c58bbc6
tree8cfe4425bf8e78727e60157990ca8f89644e26a6
parent8c45e80298f4e3eb6d9cfbafcb099bc087e4668e
[llvm-objdump] Find debug information with Build ID/debuginfod.

Uses the library introduced in https://reviews.llvm.org/D132504 to add build ID fetching to llvm-objdump. This allows viewing source when disassembling stripped objects.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D131224
llvm/docs/CommandGuide/llvm-objdump.rst
llvm/docs/CommandGuide/llvm-symbolizer.rst
llvm/test/tools/llvm-objdump/Inputs/embedded-source [changed mode: 0644->0755]
llvm/test/tools/llvm-objdump/debuginfod.test [new file with mode: 0644]
llvm/tools/llvm-objdump/CMakeLists.txt
llvm/tools/llvm-objdump/ObjdumpOpts.td
llvm/tools/llvm-objdump/llvm-objdump.cpp