marwayusuf at feng.bu.edu.eg
2013-Apr-03 12:24 UTC
[LLVMdev] extracting variables' values at interrupt
Dear all I have a question and I really appreciate any help. I'm trying to extract variable values at interrupt of some program. And I want to do that from JIT. The situation is that the JIT will interrupt at certain point of executing some code and tries to get the variables' values. Any help about that? Regards, Marwa Yusuf Teaching Assistant - Computer Engineering Department Faculty of Engineering - Benha University E-JUST MSc Student Computer Science & Engineering Dept.
This is effectively exactly what a debugger does when introspecting the state of a running program. Your JIT'ed code will need to use the program's debug information to get what it wants. -Jim On Apr 3, 2013, at 5:24 AM, marwayusuf at feng.bu.edu.eg wrote:> Dear all > I have a question and I really appreciate any help. > I'm trying to extract variable values at interrupt of some program. And I want to do that from JIT. > The situation is that the JIT will interrupt at certain point of executing some code and tries to get the variables' values. > Any help about that? > > > Regards, > Marwa Yusuf > Teaching Assistant - Computer Engineering Department > Faculty of Engineering - Benha University > E-JUST MSc Student > Computer Science & Engineering Dept. > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130403/78dcd307/attachment.html>
marwayusuf at feng.bu.edu.eg
2013-Apr-04 09:12 UTC
[LLVMdev] extracting variables' values at interrupt
Thanks a million for replying. I've tried to search about debugger in general and debug in LLVM, but I couldn't find the answer. Could you please suggest where to look for debugging info in LLVM? I\m kind of new to LLVM system. Besides, I want to get these values in the JIT execution engine itself not in the jitted code. Thanks again. Regards, Marwa Yusuf Teaching Assistant - Computer Engineering Department Faculty of Engineering - Benha University E-JUST MSc Student Computer Science & Engineering Dept. ________________________________________ From: Jim Grosbach [grosbach at apple.com] Sent: Wednesday, April 03, 2013 7:12 PM To: marwayusuf at feng.bu.edu.eg Cc: llvmdev at cs.uiuc.edu Subject: Re: [LLVMdev] extracting variables' values at interrupt This is effectively exactly what a debugger does when introspecting the state of a running program. Your JIT'ed code will need to use the program's debug information to get what it wants. -Jim On Apr 3, 2013, at 5:24 AM, marwayusuf at feng.bu.edu.eg<mailto:marwayusuf at feng.bu.edu.eg> wrote: Dear all I have a question and I really appreciate any help. I'm trying to extract variable values at interrupt of some program. And I want to do that from JIT. The situation is that the JIT will interrupt at certain point of executing some code and tries to get the variables' values. Any help about that? Regards, Marwa Yusuf Teaching Assistant - Computer Engineering Department Faculty of Engineering - Benha University E-JUST MSc Student Computer Science & Engineering Dept. _______________________________________________ LLVM Developers mailing list LLVMdev at cs.uiuc.edu<mailto:LLVMdev at cs.uiuc.edu> http://llvm.cs.uiuc.edu<http://llvm.cs.uiuc.edu/> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev