<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
The other examples happened to include ether JIT.h or Interpreter.h so
i guess it was kind of a flux only Kaleidoscope broke.<br>
<br>
This will probably be one of those 2.5 -> 2.6 gotchas when updating
LLVM clients.<br>
<br>
I guess the docs/tutorial pages needs to be adjusted as well.<br>
Perhaps add a 2.6 release note stating that one of JIT.h or
Interpreter.h has to be included if using the EngineBuilder.<br>
<br>
Cheers and have a great day!<br>
Xerxes<br>
<br>
Den 2009-07-18 22:40, Reid Kleckner skrev:
<blockquote
 cite="mid:9a9942200907181340i26012d43rc73b297bd5265024@mail.gmail.com"
 type="cite">
  <pre wrap="">I probably introduced that bug, but I don't know how I might have
caused it, since those headers weren't there before.  The other
examples probably all have the same problems, so I'd update them as
well.

Reid

On Sat, Jul 18, 2009 at 1:27 PM, Xerxes Rånby<a class="moz-txt-link-rfc2396E" href="mailto:xerxes@zafena.se"><xerxes@zafena.se></a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">The Kaleidoscope example have been segfaulting recently since the
EngineBuilder have returned a nullpointer for TheExecutionEngine.

The attached patch fixes this by including JIT.h and Interpreter.h so
that ExecutionEngine::JITCtor and ExecutionEngine::InterpCtor gets set
and actually points to the constructors for the JIT and Interpreter and
makes ExecutionEngine::createJIT to be linked in before used by the
EngineBuilder.

Ok to commit?
Xerxes


_______________________________________________
llvm-commits mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a>


    </pre>
  </blockquote>
  <pre wrap=""><!---->
_______________________________________________
llvm-commits mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a>
  </pre>
</blockquote>
<br>
</body>
</html>