[LLVMdev] RFP: Metadata is being used poorly to paper over missing IR constructs

Pete Cooper peter_cooper at apple.com
Thu Jan 8 14:30:23 PST 2015


> On Jan 8, 2015, at 2:27 PM, Chandler Carruth <chandlerc at gmail.com> wrote:
> 
> 
> On Thu, Jan 8, 2015 at 2:21 PM, Pete Cooper <peter_cooper at apple.com <mailto:peter_cooper at apple.com>> wrote:
> > #2
> > We need to make module flags a first class entity of the module, just like data layout:
> For #2, I agree we need module flags.  Run an objective C program and you’ll see stuff like this at the bottom which should not be metadata:
> 
> !{i32 4, !"Objective-C Garbage Collection", i32 0}
> 
> Personally i would put an AttributeSet on the Module.
> 
> Sure, I have no specific thoughts on implementation of this. It just shouldn't be metadata.
Agreed.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150108/14c9a0df/attachment.html>


More information about the llvm-dev mailing list