[LLVMdev] Why google-perftools fails on the JITted code?

Chris Lattner clattner at apple.com
Fri Jun 18 09:35:17 PDT 2010


On Jun 18, 2010, at 3:29 AM, Yuri wrote:

> Now I see that JITted code doesn't have standard prolog, on x86 each 
> procedure instead begins with 'sub    $0x4,%esp'.
> 
> Is there an option to make JIT generate regular prologs?

Try turning off frame pointer elimination.  On the llc command line, this is -disable-fp-elim

-Chris


> 
> Yuri
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev





More information about the llvm-dev mailing list