[LLVMdev] [RFC] NoBuiltin Attribute

Chris Lattner clattner at apple.com
Tue Feb 19 11:50:31 PST 2013


On Feb 19, 2013, at 11:12 AM, Krzysztof Parzyszek <kparzysz at codeaurora.org> wrote:
> On 2/19/2013 12:58 PM, Chris Lattner wrote:
>> 
>> What is the use case of this?  This makes no sense for LTO, and minimal sense for the non-LTO case.  What problem are you trying to solve here?
> 
> Cases where users write their own replacements of standard functions. It's not legal from the standard's perspective, but it happens.  As a matter of fact, this would be my primary goal hereā€¦

How is this not handled by handling fno-builtin by putting an attribute on the code being compiled?

-Chris



More information about the llvm-dev mailing list