Fix a bugpoint bug on anonymous functions. Instead of looking up
authorDan Gohman <gohman@apple.com>
Thu, 5 Mar 2009 23:20:46 +0000 (23:20 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 5 Mar 2009 23:20:46 +0000 (23:20 +0000)
commitef0ff140a72c18893529c33cee8e7cd634b008bd
tree4e82e0fdc2869e7ff7db373c0a5927651d8ee681
parent1f4af262d5ad680e33a45729a8a396bd91b09662
Fix a bugpoint bug on anonymous functions. Instead of looking up
functions in the new module by name, use the ValueMap provided by
CloneModule to do the lookups.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66216 91177308-0d34-0410-b5e6-96231b3b80d8
tools/bugpoint/CrashDebugger.cpp