Revert r94752, turns out we don't need to touch these options.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96127 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mikhail Glushenkov 2010-02-13 22:36:43 +00:00
parent 2df89fa407
commit 2ac7ab129d

View File

@ -50,11 +50,6 @@ def OptList : OptionList<[
(help "Choose linker (possible values: gcc, g++)")), (help "Choose linker (possible values: gcc, g++)")),
(parameter_option "mtune", (parameter_option "mtune",
(help "Target a specific CPU type"), (hidden)), (help "Target a specific CPU type"), (hidden)),
(parameter_option "fmessage-length",
(help "Format error messages to fit on lines of about n characters "),
(hidden)),
(parameter_option "std",
(help "Determine the language standard"), (hidden)),
// TODO: Add a conditional compilation mechanism to make Darwin-only options // TODO: Add a conditional compilation mechanism to make Darwin-only options
// like '-arch' really Darwin-only. // like '-arch' really Darwin-only.
@ -153,8 +148,6 @@ 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"),
(not_empty "std"), (forward "std"),
(not_empty "fmessage-length"), (forward "fmessage-length"),
(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"),
@ -202,7 +195,6 @@ def llvm_gcc_assembler : Tool<
(actions (case (actions (case
(switch_on "c"), (stop_compilation), (switch_on "c"), (stop_compilation),
(not_empty "arch"), (forward "arch"), (not_empty "arch"), (forward "arch"),
(not_empty "fmessage-length"), (forward "fmessage-length"),
(not_empty "Wa,"), (forward_value "Wa,"))) (not_empty "Wa,"), (forward_value "Wa,")))
]>; ]>;
@ -243,7 +235,6 @@ class llvm_gcc_based_linker <string cmd_prefix> : Tool<
(not_empty "weak_framework"), (forward "weak_framework"), (not_empty "weak_framework"), (forward "weak_framework"),
(switch_on "m32"), (forward "m32"), (switch_on "m32"), (forward "m32"),
(switch_on "m64"), (forward "m64"), (switch_on "m64"), (forward "m64"),
(not_empty "fmessage-length"), (forward "fmessage-length"),
(not_empty "l"), (forward "l"), (not_empty "l"), (forward "l"),
(not_empty "Wl,"), (forward "Wl,"))) (not_empty "Wl,"), (forward "Wl,")))
]>; ]>;