<div dir="ltr">No, thanks for the hint!<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 30, 2017 at 10:58 PM, Tim Northover <span dir="ltr"><<a href="mailto:t.p.northover@gmail.com" target="_blank">t.p.northover@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 30 May 2017 at 12:39, Nikodemus Siivola via llvm-dev<br>
<span class=""><<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br>
> The docs are pretty vague about this. After digging into the examples I got<br>
> the following to work with JIT to gain a pointer to variable elsewhere in<br>
> the runtime, but I'd like to understand what is going on here, and if there<br>
> is a, um, nicer API that I'm missing?<br>
<br>
</span>Have you looked at Module::getOrInsertGlobal? It seems to be pretty<br>
much exactly what you're doing.<br>
<br>
Cheers.<br>
<span class="HOEnZb"><font color="#888888"><br>
Tim.<br>
</font></span></blockquote></div><br></div>