[PATCH] BumpPtr allocate SimpleReferences

kledzik at apple.com kledzik at apple.com
Thu Dec 4 12:03:57 PST 2014


>Won't "RefList _reference" leak the nodes of the linked list 

They are allocated in the BumpPtr pool at:
   node = new (_file.allocator()) SimpleReference(...)

http://reviews.llvm.org/D6518






More information about the llvm-commits mailing list