aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texi
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-10-26 04:36:59 -0700
committerH.J. Lu <hjl.tools@gmail.com>2024-02-16 05:03:06 -0800
commitd9511b64b85296f39ded68f82f7f25ee7d6b25fb (patch)
tree64a49c7fbb30937a736c7a13125cf504d4922f04 /ld/ld.texi
parent900c0f0aa3d78cd9e67ccd26fbc86224cef4c5b1 (diff)
downloadgdb-d9511b64b85296f39ded68f82f7f25ee7d6b25fb.zip
gdb-d9511b64b85296f39ded68f82f7f25ee7d6b25fb.tar.gz
gdb-d9511b64b85296f39ded68f82f7f25ee7d6b25fb.tar.bz2
ld: Add -plugin-save-temps
Add -plugin-save-temps to store plugin intermediate files permanently. It can be used to exam the final input object files generated from IR inputs. * NEWS: Mention -plugin-save-temps. * ld.h (ld_config_type): Add plugin_save_temps. * ld.texi: Document -plugin-save-temps. * ldlex.h (option_values): Add OPTION_PLUGIN_SAVE_TEMPS. * lexsup.c (ld_options): Add -plugin-save-temps. (parse_args): Handle OPTION_PLUGIN_SAVE_TEMPS. * plugin.c (plugin_call_cleanup): Don't call plugin cleanup_handler for -plugin-save-temps.
Diffstat (limited to 'ld/ld.texi')
-rw-r--r--ld/ld.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/ld.texi b/ld/ld.texi
index 4fda259..3cba778 100644
--- a/ld/ld.texi
+++ b/ld/ld.texi
@@ -1140,6 +1140,10 @@ Omit debugger symbol information (but not all symbols) from the output file.
Omit (or do not omit) global symbols defined in discarded sections.
Enabled by default.
+@kindex -plugin-save-temps
+@item -plugin-save-temps
+Store the plugin ``temporary'' intermediate files permanently.
+
@kindex -t
@kindex --trace
@cindex input files, displaying