commit | 50cd6fda9e98f68a9a6e1adf72c38baf614bd305 | [log] [tgz] |
---|---|---|
author | Nate Begeman <natebegeman@mac.com> | Thu Mar 05 06:34:37 2009 +0000 |
committer | Nate Begeman <natebegeman@mac.com> | Thu Mar 05 06:34:37 2009 +0000 |
tree | b71028f26c448a9ce7ecf38590518c9feb4aed56 | |
parent | 6fb8f421eef59c454dba3688aade34ca1401dff2 [diff] |
When allocating stubs, keep track of which Functions are referencing the stub. This invalidates the stubs in the resolver map when they are no longer referenced, and should the JIT memory manager ever pick up a deallocateStub interface, the JIT could reclaim the memory for unused stubs as well. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66141 91177308-0d34-0410-b5e6-96231b3b80d8