summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-objcopy/ObjcopyOpts.td
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-objcopy/ObjcopyOpts.td')
-rw-r--r--llvm/tools/llvm-objcopy/ObjcopyOpts.td3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/tools/llvm-objcopy/ObjcopyOpts.td b/llvm/tools/llvm-objcopy/ObjcopyOpts.td
index 8f8a24e8de5..9b872540e91 100644
--- a/llvm/tools/llvm-objcopy/ObjcopyOpts.td
+++ b/llvm/tools/llvm-objcopy/ObjcopyOpts.td
@@ -102,3 +102,6 @@ def strip_unneeded : Flag<["-", "--"], "strip-unneeded">,
HelpText<"Remove all symbols not needed by relocations">;
def keep_file_symbols : Flag<["-", "--"], "keep-file-symbols">,
HelpText<"Do not remove file symbols">;
+defm dump_section : Eq<"dump-section">,
+ MetaVarName<"section=file">,
+ HelpText<"Dump contents of section named <section> into file <file>">;
OpenPOWER on IntegriCloud