Multi-dimensional dispatch support in Objective-C (GNU runtime)

Hi everyone,

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.

David

P.S. test/SemaObjC/nsobject-attribute-1.m fails for me. The RUN line needs -fblocks adding for it to work correctly.

clang.diff (5.62 KB)

Hi everyone,

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.

check in as 72275. Please provide a test for this patch.

David

P.S. test/SemaObjC/nsobject-attribute-1.m fails for me. The RUN line needs -fblocks adding for it to work correctly.

Thanks, test is fixed.

- Fariborz