[LLVMdev] Forcing function inline not working

Chris Lattner clattner at apple.com
Thu Sep 17 10:55:52 PDT 2009


On Sep 17, 2009, at 10:22 AM, Javier Martinez wrote:

> I got the code to work in a LLVM 2.5. I think the reason your code  
> wasn't
> working is that the function definition and declaration for foo were
> missing 'void'. This is perfectly legal C but maybe there's a bug in  
> the
> inliner pass that sees the function in the module and the symbol  
> table as
> different.

If this reproduces with mainline, please file a bugzilla, thanks!

-Chris



More information about the llvm-dev mailing list