[LLVMdev] LLVM bytecode simulator/emulator?

Chris Lattner sabre at nondot.org
Thu Jul 13 14:46:56 PDT 2006


On Thu, 13 Jul 2006, Kenneth Hoste wrote:
> After browsing through the docs, at a first glance I think I should write a 
> plugin for the 'analyze' tool. I think 
> http://llvm.org/docs/WritingAnLLVMPass.html is where I should start from.
> The only problem I see now is that there doesn't seem to be a way to get 
> information on a single instruction while being able to keep state over all 
> instructions... Is that possible, and if it is, can oyu tell me how (or where 
> I can find an example of it?).

I don't really understand what you mean by this, but a ModulePass is fully 
general, it can do anything.  Can you explain what you're trying to do?

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list