Open wolfv opened 5 years ago
👍 , especially for LLVM bytecode that can be nicely rendered.
do you have any idea if the cling guys have tools for this already? Or who to ask?
I don't think so. We have the ClingValue for the last returned value handy, but not the whole cell byte code.
We've got an "official" endorsement from Axel on the cling forums for that: https://root-forum.cern.ch/t/get-assembly-llvm-bytecode-or-clang-ast-output/30800
I've started an exploratory commit here: https://github.com/root-project/cling/pull/262
Hoping to get some feedback from the cling folks.
Borrowing from Julia here. These are pretty cool macros to get the assembly, LLVM bytecode or AST.
We could introduce them as cell magics.
Would just be necessary to find a way to extract that info in a readable way from cling.