[Lldb-commits] [PATCH] D90789: [docs] Update DebuggingJITedCode page after fix in LLDB
Stefan Gränitz via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Nov 11 10:44:36 PST 2020
sgraenitz added a comment.
One issue with the `orc-lazy` JIT will be symbol renaming for lazy reexports: Upfront we only emit stubs for our function symbols and they trigger compilation of the actual code in a separate logical unit once they are called. The debug object we hand over to LLDB doesn't take that into account. (Maybe we are just inserting the wrong load address? Don't know.) Additionally, I am not sure how debug data is handled in the partitioning logic of the CompileOnDemandLayer.
If we had a `orc-greedy`mode in lli, we could easily demonstrate debugging here (for RTDyld-based platforms) and we could also port quite a number of tests to OrcV2. Might be worth thinking about, but so far we have MCJIT for that and it still works.
Not sure any of this is worth noting in the docs?
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the lldb-commits