llvm/lib/Transforms
Chris Lattner a541b0fde2 Change CallGraphNode to maintain it's Function as an AssertingVH
for sanity.  This didn't turn up any bugs.

Change CallGraphNode to maintain its "callsite" information in the 
call edges list as a WeakVH instead of as an instruction*.  This fixes
a broad class of dangling pointer bugs, and makes CallGraph have a number
of useful invariants again.  This fixes the class of problem indicated
by PR4029 and PR3601.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80663 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-01 06:31:31 +00:00
..
Hello Kill off more cerr/cout uses and prune includes a bit. 2009-08-23 11:37:21 +00:00
Instrumentation Inline empty destructor. 2009-08-29 13:38:21 +00:00
IPO Change CallGraphNode to maintain it's Function as an AssertingVH 2009-09-01 06:31:31 +00:00
Scalar fix some cases where instcombine would change hte IR but not return true 2009-08-31 06:57:37 +00:00
Utils Change CallGraphNode to maintain it's Function as an AssertingVH 2009-09-01 06:31:31 +00:00
Makefile The attached patches attempt to fix cross builds. For example, if you 2009-08-18 00:40:33 +00:00