Re: JIT debugging (Attach and speed)
Pedro Alves <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
On 03/23/2016 07:32 PM, Yichao Yu wrote: >> So, as a quick hack, if you make inline_frame_sniffer bail out early >> with 0, does it improve things? > > The timing looks the same. =( Bummer. :-/ Having now looked at the gdb.base/jit.exp test, I see that we can easily reproduce this with: gdb ---args ./testsuite/outputs/gdb.base/jit/jit-main ./testsuite/outputs/gdb.base/jit/jit-solib.so 2000 (It'd be nice to turn this into a check-perf test...) > What do you mean by "loader"? since you mentioned call JIT_REGISTER I > assume you mean JIT compiler? Yes, sorry. I meant whatever code ends up "sending" a JIT_REGISTER event to gdb. Thanks, Pedro Alves