search for: binaryobjectcodeemitter

Displaying 3 results from an estimated 3 matches for "binaryobjectcodeemitter".

2004 Dec 31
0
[LLVMdev] Primer with LLVM
...e. it's bound to the addresses where it's written, with all symbol references resolved. LLVM does support relocations, but if you need to save binary code and then load it in different address spaces, or write out elf/coff binaries directly, you will need to do some work such as creating a BinaryObjectCodeEmitter (to parallel the current MachineCodeEmitter) and properly write out the correct binary image, with relocations intact. -- Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu
2004 Dec 31
4
[LLVMdev] Primer with LLVM
Hi again, and thanks (Reid) for your fast response: Yes, it works!!! Only changing the order of libraries in the Makefile. Nowaday I have my software with the capability of compile assembly, bytecode (from buffer and file) and link them with a set of libraries. It seems to work perfectly (I don't generate code yet). My real aim is to have a process (host) with execute several no-jit
2005 Jan 07
2
[LLVMdev] Primer with LLVM
...e. it's bound to the addresses where it's written, with all symbol references resolved. LLVM does support relocations, but if you need to save binary code and then load it in different address spaces, or write out elf/coff binaries directly, you will need to do some work such as creating a BinaryObjectCodeEmitter (to parallel the current MachineCodeEmitter) and properly write out the correct binary image, with relocations intact. -- Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu