<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi Nick,<div><br></div><div>I was not aware of it, but it makes sense given the recent switch to ORC2, which has different symbol resolution rules.</div><div><br></div><div>I am out on vacation this week, but will take a look when I get back and see if I can restore the old behavior.</div><div><br></div><div>Cheers,</div><div>Lang.<br><br><div id="AppleMailSignature" dir="ltr">Sent from my iPhone</div><div dir="ltr"><br>On Jan 20, 2019, at 2:14 PM, David Blaikie <<a href="mailto:dblaikie@gmail.com">dblaikie@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr"><div dir="ltr">+Lang who does JIT things<br><br>Yeah, I can confirm my local build (using LLVM source from today) of Chapter 4 behaves as you describe, and not as the documentation shows. Looks like somethnig needs updating (either source or the documentation).<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Dec 30, 2018 at 3:28 PM Nick Desaulniers via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a href="https://llvm.org/docs/tutorial/LangImpl04.html" rel="noreferrer" target="_blank">https://llvm.org/docs/tutorial/LangImpl04.html</a> has an example where<br>
the function `foo` gets redefined, and the JIT returns evaluation of<br>
the latest definition.  I thought my code was wrong, but it seems that<br>
the binary produced by `ninja Kaleidoscope-Ch4` has the same bug.<br>
<br>
Granted, my LLVM checkout is from Nov 3 2018 (r346062).  Is this a known issue?<br>
~Nick Desaulniers<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div></div>
</div></blockquote></div></body></html>