----- Original Message -----
> On Tue, 2012-07-03 at 16:07 -0500, Will Schmidt wrote:
> > (gdb) info reg r3
> > r3             0xfffb7f60010        17590977429520
> > (gdb) info reg r10
> > r10            0x7c0802a6f8010010   8937396376665391120
> 
> BenH points out to me that r10 value looks like code.
>  ppcdis 0x7c0802a6
> mflr    r0
> 
>  ppcdis 0xf8010010
> std     r0,16(r1)
> 
> So we are getting a pointer to the actual code, rather than a OPD
> (function descriptor).
> 
> I'll dig into this more...
> 
> Thanks,
> -Will

I'm not familair with PowerPc architecture.

Does llvm/examples/HowToUseJIT/HowToUseJIT.cpp work well there?

If so then you can take a look at lib/ExecutionEngine/JIT/JIT.cpp 's 
JIT::runFunction method, and compare what's happening differently.

Jose
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to