[llvm] 9bb2ec2 - llvm-objdump: Fix --build-id documentation string

Roland McGrath via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 4 11:55:11 PST 2023


Author: Roland McGrath
Date: 2023-01-04T11:54:57-08:00
New Revision: 9bb2ec2e23ba4b90b16418d99e5702445d9a0c06

URL: https://github.com/llvm/llvm-project/commit/9bb2ec2e23ba4b90b16418d99e5702445d9a0c06
DIFF: https://github.com/llvm/llvm-project/commit/9bb2ec2e23ba4b90b16418d99e5702445d9a0c06.diff

LOG: llvm-objdump: Fix --build-id documentation string

The argument is hex digits, so <dir> doesn't make a lot of sense.

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D141009

Added: 
    

Modified: 
    llvm/tools/llvm-objdump/ObjdumpOpts.td

Removed: 
    


################################################################################
diff  --git a/llvm/tools/llvm-objdump/ObjdumpOpts.td b/llvm/tools/llvm-objdump/ObjdumpOpts.td
index 205bb94981e42..de7f883d24a80 100644
--- a/llvm/tools/llvm-objdump/ObjdumpOpts.td
+++ b/llvm/tools/llvm-objdump/ObjdumpOpts.td
@@ -40,7 +40,7 @@ def archive_headers : Flag<["--"], "archive-headers">,
 
 defm build_id :
   Eq<"build-id", "Build ID to look up. Once found, added as an input file">,
-  MetaVarName<"<dir>">;
+  MetaVarName<"<hex>">;
 
 def : Flag<["-"], "a">, Alias<archive_headers>,
   HelpText<"Alias for --archive-headers">;


        


More information about the llvm-commits mailing list