llvm-6502/test
Chris Lattner b374b90e81 Fix PR4834, a tricky case where the inliner would resolve an
indirect function pointer, inline it, then go to delete the body.
The problem is that the callgraph had other references to the function,
though the inliner had no way to know it, so we got a dangling pointer
and an invalid iterator out of the deal.

The fix to this is pretty simple: stop the inliner from deleting the
function by knowing that there are references to it.  Do this by making
CallGraphNodes contain a refcount.  This requires moving deletion of 
available_externally functions to the module-level cleanup sweep where
it belongs.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80533 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-31 03:15:49 +00:00
..
Analysis rename test so that name reflects what it is testing for. 2009-08-30 21:36:39 +00:00
Archive
Assembler Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
Bindings/Ocaml Convert the rest of the ocaml types and functions to use context. 2009-08-19 17:32:24 +00:00
Bitcode Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
BugPoint remove nondeterminstic test. 2009-08-08 22:56:37 +00:00
CodeGen eliminate some uses of prcontext. Any help here would be appreciated :) 2009-08-30 21:45:23 +00:00
DebugInfo Reapply 79977. 2009-08-28 23:24:31 +00:00
ExecutionEngine Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
Feature Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
FrontendAda
FrontendC Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
FrontendC++ Reapply 79977. 2009-08-28 23:24:31 +00:00
FrontendFortran
FrontendObjC Reapply 79977. 2009-08-28 23:24:31 +00:00
FrontendObjC++
Integer Now that numbered types have their number printed, it's no longer 2009-08-12 23:54:22 +00:00
lib Fix a few typos from the removal of -f. 2009-08-25 15:45:44 +00:00
Linker Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
LLVMC
MC Update test. 2009-08-30 07:01:09 +00:00
Other
Scripts llvm-mc/Mach-O: Dump relocations and section data (optionally) in my Mach-O dumper. 2009-08-26 13:57:44 +00:00
TableGen Add some tests of advanced TableGen list functionality. 2009-06-29 20:07:17 +00:00
Transforms Fix PR4834, a tricky case where the inliner would resolve an 2009-08-31 03:15:49 +00:00
Verifier Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
Makefile The attached patches attempt to fix cross builds. For example, if you 2009-08-18 00:40:33 +00:00
Makefile.tests Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
TestRunner.sh