fix a crash building SPASS by tolerating a callsite that doesn't exist
authorChris Lattner <sabre@nondot.org>
Mon, 31 Aug 2009 05:46:59 +0000 (05:46 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 31 Aug 2009 05:46:59 +0000 (05:46 +0000)
commit46ca76f6bb1648087890f2647bc93a005e0970a7
treef248cbbd24f87afdb65f54dfa3151d22e76ce3ec
parentd43d5e832f756c9d2c0c8ff4d2f51807a27cab8d
fix a crash building SPASS by tolerating a callsite that doesn't exist
in the callgraph, see the big comment at the top of the testcase.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80541 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/IPA/CallGraph.cpp
test/Transforms/Inline/crash.ll [new file with mode: 0644]