Getting address of label in jitted code.

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

Hello,

What's your plan for restoring register and memory state?

Dan