Patrick Simmons
2009-Aug-28 07:57 UTC
[LLVMdev] DSNodes for main() neither complete nor global?
Hi, I'm noticing that there are some DSNodes in main() that are neither complete nor global. Specifically, a heap DSNode that is used but not free()d in main() is not marked complete. This is not the only case I'm noticing, but it's the only case I'm noticing for nodes that are actually used by instructions in the function. Is this expected behavior? If so, is there an option to DSA that would mark these nodes complete in main()? Thanks, --Patrick -- If I'm not here, I've gone out to find myself. If I get back before I return, please keep me here.
Andrew Lenharth
2009-Aug-28 12:08 UTC
[LLVMdev] DSNodes for main() neither complete nor global?
On Fri, Aug 28, 2009 at 2:57 AM, Patrick Simmons<simmon12 at illinois.edu> wrote:> Hi, > > I'm noticing that there are some DSNodes in main() that are neither > complete nor global. Specifically, a heap DSNode that is used but not > free()d in main() is not marked complete. This is not the only case I'm > noticing, but it's the only case I'm noticing for nodes that are > actually used by instructions in the function. > > Is this expected behavior? If so, is there an option to DSA that would > mark these nodes complete in main()?Do you have indirect calls to free? If you do, you need to call the -indmemrem pass before hand. Andrew
Seemingly Similar Threads
- [LLVMdev] Getting the DSNode from a Pool Descriptor?
- [LLVMdev] Getting the DSNode from a Pool Descriptor?
- [LLVMdev] DSA getNodeForValue() Returning NULL Sometimes
- [LLVMdev] Getting the DSNode from a Pool Descriptor?
- [LLVMdev] Getting the DSNode from a Pool Descriptor?