[cfe-dev] [RFC] Module Flags Metadata

Bill Wendling wendling at apple.com
Mon Jan 23 20:38:45 PST 2012


On Jan 19, 2012, at 6:03 PM, Bill Wendling wrote:

> On Jan 19, 2012, at 4:20 PM, David Chisnall wrote:
> 
>> Hi Bill,
>> 
>> For the GNU runtimes, this metadata is stored in the module structure in each compilation unit, and uses a different set of flags.  Do you have any plans for this to be generic, or is it intended just for Darwin?
>> 
> Hi David,
> 
> This should be generic as is. :)
> 
I guess more to the point, the implementation of module flags is generic. However, it can be specific to a submodule or runtime. So the flags I introduced here are for Mach-O. I don't know enough about the GNU runtime to say whether they can be used for that as well. If not, we can either expand the flags or create new ones.

-bw





More information about the cfe-dev mailing list