[LLVMdev] Build Attributes Proposal

Devang Patel dpatel at apple.com
Fri Nov 12 12:08:53 PST 2010


On Nov 12, 2010, at 11:22 AM, Renato Golin wrote:

> Hi Devang,
> 
> On 12 November 2010 18:13, Devang Patel <dpatel at apple.com> wrote:
>>> I don't see why you would want to put any of these things in the module
>>> at all:
>> 
>> In fact they are more suitable as function attributes. For example, we already have function attributes for -Os.
> 
> Well, if it's a compilation parameter (rather than a function
> attribute), applying to all functions in a module doesn't make all
> that sense, but I guess one could do that.

It would help you solve the case where to module with different attributes are merged together. 

However, Bob is correct, I was missing the context. Sorry about the confusion.
-
Devang



More information about the llvm-dev mailing list