Skip to content
Commit c3b7d1ed authored by Jeffrey Yasskin's avatar Jeffrey Yasskin
Browse files

Fix PR6360. It's easy for a stub's address to escape to user code, so we can't

just count references to it from JIT output to decide when to destroy it.  This
patch waits to destroy the JIT's memory of a stub until the Function it refers
to is destroyed.  External function stubs and GVIndirectSyms aren't destroyed
until the JIT itself is.

llvm-svn: 97737
parent 0b46650b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment