[LLVMdev] Possible bug in TCO?
jon at ffconsultancy.com
Sun Nov 29 11:31:48 CST 2009
On Sunday 29 November 2009 10:19:40 Albert Graef wrote:
> Jon Harrop wrote:
> > I've come up with the following minimal repro that segfaults on my
> > machine:
> Jon, were you able to resolve this?
Nope. I just worked around the problem because HLVM was segfaulting on a
single stdlib function call (just removing "tail" fixed the segfault which
was trying to read 0x1 according to ValGrind) so I inlined it and now I have
no segfaults. I kept the full repro as a .ll though.
Arnold showed that my minimal repro was buggy: I'd confused calling
Dr Jon Harrop, Flying Frog Consultancy Ltd.
More information about the LLVMdev