From 6de0557115348f20573b2051787498864f311d29 Mon Sep 17 00:00:00 2001 From: Mikhail Glushenkov Date: Sat, 13 Feb 2010 22:37:00 +0000 Subject: [PATCH] Support -mfix-and-continue properly. llvm-svn: 96128 --- tools/llvmc/plugins/Base/Base.td.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/llvmc/plugins/Base/Base.td.in b/tools/llvmc/plugins/Base/Base.td.in index 38f7941cd67..03d74ebcaab 100644 --- a/tools/llvmc/plugins/Base/Base.td.in +++ b/tools/llvmc/plugins/Base/Base.td.in @@ -60,6 +60,8 @@ def OptList : OptionList<[ (help "A synonym for -mtune"), (hidden)), (parameter_option "mcpu", (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", (help "Specify a file to write dependencies to"), (hidden)), (parameter_list_option "MT", @@ -148,6 +150,7 @@ class llvm_gcc_based : Tool< (not_empty "mtune"), (forward "mtune"), (not_empty "mcpu"), (forward "mcpu"), (not_empty "m"), (forward "m"), + (switch_on "mfix-and-continue"), (forward "mfix-and-continue"), (switch_on "m32"), (forward "m32"), (switch_on "m64"), (forward "m64"), (switch_on "O0"), (forward "O0"),