summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2009-10-23 22:37:43 +0000
committerJeffrey Yasskin <jyasskin@google.com>2009-10-23 22:37:43 +0000
commitd0fc8f809af1c06f56d0bccec35cda724252f96f (patch)
treeea8bfc3fd935f3e48f98718bbdd555ca3582136f /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent091f04256a60c07b7abaccacbf557c930ed75460 (diff)
downloadbcm5719-llvm-d0fc8f809af1c06f56d0bccec35cda724252f96f.tar.gz
bcm5719-llvm-d0fc8f809af1c06f56d0bccec35cda724252f96f.zip
Fix http://llvm.org/PR4822: allow module deletion after a function has been
compiled. When functions are compiled, they accumulate references in the JITResolver's stub maps. This patch removes those references when the functions are destroyed. It's illegal to destroy a Function when any thread may still try to call its machine code. This patch also updates r83987 to use ValueMap instead of explicit CallbackVHs and fixes a couple "do stuff inside assert()" bugs from r84522. llvm-svn: 84975
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud