<div dir="ltr">Hi,<div><br></div><div>LLVM IR is too high level to give that kind of information. Stack frames haven't been created yet and we're a million miles from generating relocations. There's no guarantee that a pointer type in LLVM IR actually becomes a pointer when instruction selected!</div><div><br></div><div>Cheers,</div><div><br></div><div>James</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, 5 Sep 2016 at 09:42 Bernard Nongpoh 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"><div dir="ltr">Hello There,<div><br></div><div> Is it possible to retrieve the memory address of an operand in LLVM IR.</div><div>If so, How to do it.</div><div><br></div><div>I know that we cannot determine the absolute address . Can we can at least retrieve the relative address of a variable/operand in an instruction.</div><div><br></div><div>Thank You in advance.</div><div><br></div><div>Regards,</div><div>Bernard</div><div><br></div></div>
_______________________________________________<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>