<div dir="ltr">Trying to trace why the version compiled with Microsoft C++ crashes,  it is in this part of the code...<div><br></div><div><div>      // Get the address of the JIT'd function in memory.</div><div>      auto ExprSymbol = J.findUnmangledSymbol("__anon_expr");</div><div><br></div><div>      // Cast it to the right type (takes no arguments, returns a double) so we</div><div>      // can call it as a native function.</div><div>      double (*FP)() = (double (*)())(intptr_t)ExprSymbol.getAddress();</div></div><div><br></div><div>FP  is null, so it's not finding the symbol,  though I don't know why not.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 31, 2016 at 8:13 AM, Russell Wallace <span dir="ltr"><<a href="mailto:russell.wallace@gmail.com" target="_blank">russell.wallace@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"> Are the Kaleidoscope examples supposed to work on Windows?  e.g.<div><br></div><div><div>C:\llvm\examples\Kaleidoscope\Orc\initial\toy.cpp<br></div></div><div><br></div><div> when I try to compile this with clang it gives compile time error messages, and when I try with Microsoft C++ it generates an executable that runs but crashes when I type in an expression;  I get similar results with a few of the other versions. I can give more detailed feedback if that would help, just checking first to see what should work or if there's something else I should be doing.</div></div>
</blockquote></div><br></div>