diff options
author | Mark Harmstone <mark@harmstone.com> | 2023-04-18 13:55:35 -0600 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro> | 2023-04-18 13:55:35 -0600 |
commit | 2f7e7bfa3c6327793cdcdcb5c770b93cecd49bd0 (patch) | |
tree | d284f95511c8a1e46f5f129a0e42b4771c45f118 /gcc/gcc.cc | |
parent | 6c11d30799ff3160729315d07c3df641c3ca9870 (diff) | |
download | gcc-2f7e7bfa3c6327793cdcdcb5c770b93cecd49bd0.zip gcc-2f7e7bfa3c6327793cdcdcb5c770b93cecd49bd0.tar.gz gcc-2f7e7bfa3c6327793cdcdcb5c770b93cecd49bd0.tar.bz2 |
Add -gcodeview option
gcc/
* common.opt (gcodeview): Add new option.
* gcc.cc (driver_handle_option); Handle OPT_gcodeview.
* opts.cc (command_handle_option): Similarly.
* doc/invoke.texi: Add documentation for -gcodeview.
Diffstat (limited to 'gcc/gcc.cc')
-rw-r--r-- | gcc/gcc.cc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -4572,6 +4572,10 @@ driver_handle_option (struct gcc_options *opts, do_save = false; break; + case OPT_gcodeview: + add_infile ("--pdb=", "*"); + break; + default: /* Various driver options need no special processing at this point, having been handled in a prescan above or being |