aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/CommandGuide/llvm-objdump.rst
diff options
context:
space:
mode:
authorDaniel Thornburgh <dthorn@google.com>2022-09-20 10:51:14 -0700
committerDaniel Thornburgh <dthorn@google.com>2022-10-04 13:44:25 -0700
commit2e91a5f546ad0d934e9619222983efe230b344b6 (patch)
tree799c51484409bfcce329dd870ac562a2d9e6dfa5 /llvm/docs/CommandGuide/llvm-objdump.rst
parent3d4f1169563e3aa9e7fce3c6d8445adf8256a142 (diff)
downloadllvm-2e91a5f546ad0d934e9619222983efe230b344b6.zip
llvm-2e91a5f546ad0d934e9619222983efe230b344b6.tar.gz
llvm-2e91a5f546ad0d934e9619222983efe230b344b6.tar.bz2
[llvm-objdump] Add --build-id flag for debuginfod lookups without binary.
Adding a --build-id flag allows handling binaries that are referenced in logs from remote systems, but that aren't necessarily present on the local machine. These are fetched via debuginfod and handled as if they were input filenames. Reviewed By: jhenderson, MaskRay Differential Revision: https://reviews.llvm.org/D133992
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-objdump.rst')
-rw-r--r--llvm/docs/CommandGuide/llvm-objdump.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-objdump.rst b/llvm/docs/CommandGuide/llvm-objdump.rst
index 654a48f..7879ac1 100644
--- a/llvm/docs/CommandGuide/llvm-objdump.rst
+++ b/llvm/docs/CommandGuide/llvm-objdump.rst
@@ -125,6 +125,11 @@ OPTIONS
Specify the target architecture when disassembling. Use :option:`--version`
for a list of available targets.
+.. option:: --build-id=<string>
+
+ Look up the object using the given build ID, specified as a hexadecimal
+ string. The found object is handled as if it were an input filename.
+
.. option:: -C, --demangle
Demangle symbol names in the output.