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

Chandler Carruth chandlerc at gmail.com
Thu Jan 8 14:27:13 PST 2015


On Thu, Jan 8, 2015 at 2:21 PM, Pete Cooper <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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150108/8efb4bf5/attachment.html>


More information about the llvm-dev mailing list