[LLVMdev] [RFC] NoBuiltin Attribute
    Chris Lattner 
    clattner at apple.com
       
    Mon Feb 18 18:08:57 PST 2013
    
    
  
On Feb 18, 2013, at 5:16 PM, Krzysztof Parzyszek <kparzysz at codeaurora.org> wrote:
> On 2/18/2013 6:45 PM, Chris Lattner wrote:
>> 
>> In the context of LTO, it makes sense for the attribute to be on function bodies, not on prototypes.
> 
> What if the body is defined in some external library?
That code is presumably compiled by someone.  If whoever compiles it specifies -fno-builtin, the attribute would be added to it.  It doesn't affect its clients.
-Chris
    
    
More information about the llvm-dev
mailing list