Support -mfix-and-continue properly.

llvm-svn: 96128
This commit is contained in:
Mikhail Glushenkov 2010-02-13 22:37:00 +00:00
parent 67f061d85c
commit b0afb6cbe4
1 changed files with 3 additions and 0 deletions

View File

@ -60,6 +60,8 @@ def OptList : OptionList<[
(help "A synonym for -mtune"), (hidden)), (help "A synonym for -mtune"), (hidden)),
(parameter_option "mcpu", (parameter_option "mcpu",
(help "A deprecated synonym for -mtune"), (hidden)), (help "A deprecated synonym for -mtune"), (hidden)),
(switch_option "mfix-and-continue",
(help "Needed by gdb to load .o files dynamically"), (hidden)),
(parameter_option "MF", (parameter_option "MF",
(help "Specify a file to write dependencies to"), (hidden)), (help "Specify a file to write dependencies to"), (hidden)),
(parameter_list_option "MT", (parameter_list_option "MT",
@ -148,6 +150,7 @@ class llvm_gcc_based <string cmd_prefix, string in_lang, string E_ext> : Tool<
(not_empty "mtune"), (forward "mtune"), (not_empty "mtune"), (forward "mtune"),
(not_empty "mcpu"), (forward "mcpu"), (not_empty "mcpu"), (forward "mcpu"),
(not_empty "m"), (forward "m"), (not_empty "m"), (forward "m"),
(switch_on "mfix-and-continue"), (forward "mfix-and-continue"),
(switch_on "m32"), (forward "m32"), (switch_on "m32"), (forward "m32"),
(switch_on "m64"), (forward "m64"), (switch_on "m64"), (forward "m64"),
(switch_on "O0"), (forward "O0"), (switch_on "O0"), (forward "O0"),