diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2010-02-13 22:37:00 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2010-02-13 22:37:00 +0000 |
commit | 9ab6a90645cfa538d656d899b366acc95f43b0ce (patch) | |
tree | baf051b203e6286fbb6d9b6517702cb2b774633d /tools | |
parent | b8f7da222ae9c8d7634ffd248876ceb2db803b1a (diff) | |
download | external_llvm-9ab6a90645cfa538d656d899b366acc95f43b0ce.zip external_llvm-9ab6a90645cfa538d656d899b366acc95f43b0ce.tar.gz external_llvm-9ab6a90645cfa538d656d899b366acc95f43b0ce.tar.bz2 |
Support -mfix-and-continue properly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96128 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llvmc/plugins/Base/Base.td.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/llvmc/plugins/Base/Base.td.in b/tools/llvmc/plugins/Base/Base.td.in index 38f7941..03d74eb 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 <string cmd_prefix, string in_lang, string E_ext> : 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"), |