<div dir="ltr">Yes, I did.  I printed out the one I am returning and the one I am receiving. Both are same. This use to work on LLVM-3.3. Now I am trying to port it to 8.0.<div><br></div><div>Please let me know, I can provide you with more code prior to this, If that would help.<br><div><br></div><div>Regards,</div><div>Manoj</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 23, 2019 at 12:42 PM Tim Northover <<a href="mailto:t.p.northover@gmail.com">t.p.northover@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Manoj,<br>
<br>
> Here it prints an empty string and also the executionEngine->runFunction() gives error : Assertion failed! Expression: GV->hasName() && "Global must have name."<br>
<br>
Have you checked that it's definitely the same pointer? Obviously the<br>
code you posted isn't real but it does show funcHandle being passed as<br>
an int rather than an intptr, which could easily truncate the value.<br>
<br>
Cheers.<br>
<br>
Tim.<br>
</blockquote></div>