Displaying 4 results from an estimated 4 matches for "asmemitter".
2007 Nov 09
1
[LLVMdev] Newbie JITter
...JIT is
>> generating. How can I dump the JIT generated code, as native
>> assembler? It's a debugging requirement only.
>
> I think there is disassembly capability built-in. See JITEmitter.cpp
That's only for x86, and only if you have udis86. I was using
(indirectly) an AsmEmitter that is added by
TargetMachine::addPassesToEmitFile, and now that I have a better
understanding of what's going on, I realise there isn't really any
facility to do what I need.
Antony Blakey
-------------
CTO, Linkuistics Pty Ltd
Ph: 0438 840 787
One should respect public opinion in...
2007 Nov 09
0
[LLVMdev] Newbie JITter
Antony,
> That's only for x86, and only if you have udis86. I was using
> (indirectly) an AsmEmitter that is added by
> TargetMachine::addPassesToEmitFile, and now that I have a better
> understanding of what's going on, I realise there isn't really any
> facility to do what I need.
There is special command line switch in lli called -print-machineinstrs.
--
With best regar...
2007 Nov 08
3
[LLVMdev] Newbie JITter
Hi,
I'm experimenting with using LLVM to generate dynamic FFI bridges
in VisualWorks Smalltalk. LLVM is an amazing thing! I'm going from
dynamically generated assembler source to machine code, and I have
that all working, copied from the llc tool and the JIT example. I
have two questions:
1. What optimization passes, if any, should I run on the module
before I pass it to the
2007 Nov 09
0
[LLVMdev] Newbie JITter
On Nov 7, 2007, at 6:10 PM, Antony Blakey wrote:
> Hi,
> I'm experimenting with using LLVM to generate dynamic FFI bridges
> in VisualWorks Smalltalk. LLVM is an amazing thing! I'm going from
> dynamically generated assembler source to machine code, and I have
> that all working, copied from the llc tool and the JIT example. I
> have two questions:
>
> 1. What