diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2009-05-22 20:17:16 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-05-22 20:17:16 +0000 |
| commit | a4404f21d101fc738e1f99e38d0f83260470464a (patch) | |
| tree | fcfa4d3f40752b2a37a08a44b7cfaf67c1fd508c /clang/lib/Driver | |
| parent | 162af638a9dd6fbdc7091e61a9ae43415285f401 (diff) | |
| download | bcm5719-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.cpp | 1 |
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); |

