[PATCH] BumpPtr allocate SimpleReferences

Shankar Kalpathi Easwaran shankarke at gmail.com
Wed Dec 3 20:01:17 PST 2014


I like the idea of using the file allocator for all objects that would be owned by that file. If you keep a vector of std::vector<SimpleReference *> and allocate the simple references by using the file allocator, wouldn't it suffice ? 

This would essentially destroy all the references when the File goes away, Am I missing something ?

http://reviews.llvm.org/D6518






More information about the llvm-commits mailing list