[LLVMdev] Determine whether a stored variable is local or global in the code of LLVM 2.7

Nayden Nedev ndn.nedev at gmail.com
Sun Aug 8 20:32:53 PDT 2010


I would like to know something different than that. How I can determine if
the address at which data is stored is part of the heap or part of the
stack.

Regards,
Nayden

On Sat, Aug 7, 2010 at 3:22 AM, Patrick Marlier <patrick.marlier at unine.ch>wrote:
>
>> On 08/07/2010 04:41 AM, Nayden Nedev wrote:
>>
>>> Hi,
>>>
>>> I am trying to modify visitStoreInst() function in Execution.cpp of LLVM
>>> 2.7 to do some extra things. How I can determine whether the stored
>>> variable is global or local for some function?
>>>
>>> Regards,
>>> Nayden
>>>
>> Hello,
>>
>> Here the answer:
>> http://lists.cs.uiuc.edu/pipermail/llvmdev/2010-July/033267.html
>>
>> Patrick Marlier.
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100808/f8c515d2/attachment.html>


More information about the llvm-dev mailing list