summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-05-22 20:17:16 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-05-22 20:17:16 +0000
commita4404f21d101fc738e1f99e38d0f83260470464a (patch)
treefcfa4d3f40752b2a37a08a44b7cfaf67c1fd508c /clang/lib/Driver
parent162af638a9dd6fbdc7091e61a9ae43415285f401 (diff)
downloadbcm5719-llvm-a4404f21d101fc738e1f99e38d0f83260470464a.tar.gz
bcm5719-llvm-a4404f21d101fc738e1f99e38d0f83260470464a.zip
This patch adds support for sender-aware dispatch in Objective-C for the GNU runtime, when
compiled with -fobjc-sender-dependent-dispatch. This is used in AOP, COP, implementing object planes, and a few other things. Patch by David Chisnall. llvm-svn: 72275
Diffstat (limited to 'clang/lib/Driver')
-rw-r--r--clang/lib/Driver/Tools.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp
index fd071dfe282..abfabbb721a 100644
--- a/clang/lib/Driver/Tools.cpp
+++ b/clang/lib/Driver/Tools.cpp
@@ -479,6 +479,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
Args.AddLastArg(CmdArgs, options::OPT_fno_show_column);
Args.AddLastArg(CmdArgs, options::OPT_fobjc_gc_only);
Args.AddLastArg(CmdArgs, options::OPT_fobjc_gc);
+ Args.AddLastArg(CmdArgs, options::OPT_fobjc_sender_dependent_dispatch);
// FIXME: Should we remove this?
Args.AddLastArg(CmdArgs, options::OPT_fobjc_nonfragile_abi);
Args.AddLastArg(CmdArgs, options::OPT_fobjc_tight_layout);
OpenPOWER on IntegriCloud