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.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
New options need adding to the CommandGuide documentation. Please update the relevant llvm/CommandGuide file.
llvm/tools/llvm-objdump/ObjdumpOpts.td | ||
---|---|---|
42 | Other options don't have a trailing full stop for their description in this file. | |
llvm/tools/llvm-objdump/llvm-objdump.cpp | ||
2923–2924 | Test case for this error? | |
3103–3104 | Test case? |
Two nits, otherwise looks good.
llvm/test/tools/llvm-objdump/debuginfod.test | ||
---|---|---|
58 | On first glance, it wasn't clear why this one was malformed, and the next one is not found. Perhaps worth extending the comment here explaining how it is malformed (i.e. something like "not a hex string"). | |
llvm/tools/llvm-objdump/llvm-objdump.cpp | ||
3193–3197 | Nit: to reduce git blame noise, you should be able to do this move as part of the change which introduces the debuginfod stuff, right? |
Add comment explaining how build ID is malformed.
Move otool ordering to earlier commit in stack.
[objdump]
We commonly use [llvm-objdump]. objdump refers to the GNU binutils one.
llvm/test/tools/llvm-objdump/debuginfod.test | ||
---|---|---|
52 | Optional: The lines in this file appear to be wrapped too aggressively. Two lines seem sufficient if you place --build-id on the previous line. | |
59 | FileCheck line should not be indented. | |
65 | FileCheck line should not be indented. |
Optional: The lines in this file appear to be wrapped too aggressively. Two lines seem sufficient if you place --build-id on the previous line.