Displaying 2 results from an estimated 2 matches for "l676".
Did you mean:
676
2020 Mar 16
2
ORC JIT Weekly #7 -- JITEventListener support and Swift Immediate Mode Migration
...was the problem you were hitting?
I don't have isolated example code, but it really shouldn't take much
code to set up the event listener. All that PG (which is what I added
the perf listener for) is doing is:
https://github.com/postgres/postgres/blob/master/src/backend/jit/llvm/llvmjit.c#L676
When taking a profile of a program you need to specify -k 1 to perf, to
have compatible clocks. E.g. you need to take it like
$ perf record -k 1 --call-graph dwarf -o /tmp/perf.data -p 22950
and then
you need to inject the JIT information into the profile:
$ perf inject -v --jit -i /tmp/perf.data...
2020 Mar 09
4
ORC JIT Weekly #7 -- JITEventListener support and Swift Immediate Mode Migration
Hi All,
Just a couple of updates this week:
First: there is a preview patch up at https://reviews.llvm.org/D75838 to
enable use of JITEventListeners in RTDyldObjectLinkingLayer. I've only done
very preliminary testing on it, but was able to debug simple JIT'd programs
on Linux using the GDB registration listener. If you've been wanting to
move to ORC but held up by lack of debugger /