[llvm-dev] Getting the original high-level code

John Criswell via llvm-dev llvm-dev at lists.llvm.org
Wed Mar 16 07:00:09 PDT 2016


On 3/15/16 9:22 AM, marwayusuf at feng.bu.edu.eg via llvm-dev wrote:
>
> Dear All
>
> Is there is a way I can get the original hogh level code (e.g c++ 
> code) of an IR function within MCJIT?
>

You might want to specify the context.  Are you compiling high level 
code to LLVM IR to MachineInstr to MC and then wanting to map an MC 
instruction back to a source level instruction?  Or are you 
disassembling a binary program to the MC IR and then wanting to 
reconstruct the source code?

The answer to your question depends on which of these you are trying to do.

Regards,

John Criswell

>
> Regards,
> Marwa Yusuf
> Teaching Assistant - Computer Engineering Department
> Faculty of Engineering - Benha University
> E-JUST PhD Student
> Computer Science & Engineering Dept.
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev


-- 
John Criswell
Assistant Professor
Department of Computer Science, University of Rochester
http://www.cs.rochester.edu/u/criswell

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160316/64c82e69/attachment-0001.html>


More information about the llvm-dev mailing list