[LLVMdev] Redefining function
miranda.conrado at gmail.com
Sun Jan 31 11:24:00 PST 2010
Just updated the source and now I get the unreachable error again.
The JIT doesn't know how to handle a RAUW on a value it has emitted.
UNREACHABLE executed at
I think that it's not helpful now, but I can post the program, if you want
On Sun, Jan 31, 2010 at 2:49 PM, Jeffrey Yasskin <jyasskin at google.com>wrote:
> On Sun, Jan 31, 2010 at 7:35 AM, Conrado Miranda
> <miranda.conrado at gmail.com> wrote:
> > Great! It just worked. I was a bit worried about using pointers to call
> > functions because it's a little too overwhelming in a big project, I
> > Just for the record, if the function code isn't freed with
> > freeMachineCodeForFunction, I get a segmentation fault during
> > recompileAndRelinkFunction with this stack dump:
> > Running pass 'X86 Machine Code Emitter' on function '@do_print'
> Well, it's not supposed to segfault. At worst, it should give you an
> assertion error when you do something wrong (when it's compiled with
> asserts, of course). Could you either file a bug, or send me the exact
> code you were using with the command line you used to compile it
> against svn head?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev