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

Paul Davey plmdvy at gmail.com
Sat Jun 19 06:57:38 PDT 2010


On Sat, Jun 19, 2010 at 4:35 AM, Chris Lattner <clattner at apple.com> wrote:
>
> 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
>

What does llc have to do with the JIT?




More information about the llvm-dev mailing list