[cfe-commits] [PATCH] Add -fobjc-direct-class-refs
rjmccall at apple.com
Mon May 14 11:34:58 PDT 2012
On May 12, 2012, at 3:50 AM, Jonathan Schleifer wrote:
> Attached is a patch that adds the option -fobjc-direct-class-refs to Clang. It allows using direct references to classes with the GNU ABI, which Clang already emits, but does not use yet.
> I have tested it with my own runtime, but it should also work with the GNUstep runtime.
> I'd appreciate any feedback and would love to get it committed if the patch is done correctly.
If the GNU runtime supports emitting direct references to the class, why is a command-line option necessary?
I am opposed to providing an ever-expanding spectrum of command line flags — particularly driver flags! — to slightly tweak the ABI.
Even if we supported this, it would be an IR-gen option, not a language option.
More information about the cfe-commits