Hi, I need to get the address of a label in jitted code. (This is so that I can insert a jump into the machine code to resume interpretation from compiled code) I've tried using gcc's address of labels, but llvm just gives meaningless integers, not real addresses. I've had a look at llvm.dbg.stoppoint, but I don't see where the address actually get stored and the docs are really out of date. Any guidance on this? Mark -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2609 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090122/6a8d7485/attachment.bin>
On Jan 22, 2009, at 3:45 AM, Mark Shannon wrote:> Hi, > > I need to get the address of a label in jitted code. > (This is so that I can insert a jump into the machine code to resume > interpretation from compiled code)Hello, What's your plan for restoring register and memory state? Dan
Maybe Matching Threads
- [LLVMdev] Getting address of label in jitted code[MESSAGE NOT SCANNED]
- [LLVMdev] Getting address of label in jitted code
- [LLVMdev] Getting address of label in jitted code
- [LLVMdev] Getting address of label in jitted code[MESSAGE NOT SCANNED]
- [LLVMdev] Getting address of label in jitted code