aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-04-07 21:51:40 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-04-07 21:51:40 +0000
commit3aaf082689d3235937a2e56a60f90fc1b3aebfb2 (patch)
tree674aabd6c61189009de57483c1d5167ec0e27273 /lib/Driver/Tools.cpp
parent2ac9fc2ad64e16127df8c60caeea2edfe9a400a2 (diff)
Driver: Forward remaining -f options to clang manually.
- Groups are really just intended to hold inherent structure of the options, not be abused for individual tool argument translation. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68554 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r--lib/Driver/Tools.cpp20
1 files changed, 19 insertions, 1 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp
index 9e128984bf..4e2a7b9939 100644
--- a/lib/Driver/Tools.cpp
+++ b/lib/Driver/Tools.cpp
@@ -359,7 +359,25 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
}
// Forward -f options which we can pass directly.
- Args.AddAllArgs(CmdArgs, options::OPT_clang_f_Group);
+ Args.AddLastArg(CmdArgs, options::OPT_femit_all_decls);
+ Args.AddLastArg(CmdArgs, options::OPT_fexceptions);
+ Args.AddLastArg(CmdArgs, options::OPT_ffreestanding);
+ Args.AddLastArg(CmdArgs, options::OPT_fheinous_gnu_extensions);
+ Args.AddLastArg(CmdArgs, options::OPT_fgnu_runtime);
+ Args.AddLastArg(CmdArgs, options::OPT_flax_vector_conversions);
+ Args.AddLastArg(CmdArgs, options::OPT_fms_extensions);
+ Args.AddLastArg(CmdArgs, options::OPT_fnext_runtime);
+ Args.AddLastArg(CmdArgs, options::OPT_fno_caret_diagnostics);
+ Args.AddLastArg(CmdArgs, options::OPT_fno_show_column);
+ Args.AddLastArg(CmdArgs, options::OPT_fobjc_gc_only);
+ Args.AddLastArg(CmdArgs, options::OPT_fobjc_gc);
+ // FIXME: Should we remove this?
+ Args.AddLastArg(CmdArgs, options::OPT_fobjc_nonfragile_abi);
+ Args.AddLastArg(CmdArgs, options::OPT_fprint_source_range_info);
+ Args.AddLastArg(CmdArgs, options::OPT_ftime_report);
+ Args.AddLastArg(CmdArgs, options::OPT_ftrapv);
+ Args.AddLastArg(CmdArgs, options::OPT_fvisibility_EQ);
+ Args.AddLastArg(CmdArgs, options::OPT_fwritable_strings);
// Forward -f options with positive and negative forms; we translate
// these by hand.