[llvm-dev] Getting the address of an Operand from LLVM IR
James Molloy via llvm-dev
llvm-dev at lists.llvm.org
Mon Sep 5 01:45:20 PDT 2016
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!
On Mon, 5 Sep 2016 at 09:42 Bernard Nongpoh via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Hello There,
> Is it possible to retrieve the memory address of an operand in LLVM IR.
> If so, How to do it.
> 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.
> Thank You in advance.
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev