[PATCH] Change TargetLoweringObjectFile ownership

Eric Christopher echristo at gmail.com
Wed Oct 22 11:39:46 PDT 2014


Hi Aditya!

I think this will work. You should return a unique_ptr out of the construction routine and use make_unique instead of new. Trying to come up with a way that doesn't require a unique_ptr here, but I'm not coming up with one.

Thanks!

-eric

http://reviews.llvm.org/D5850






More information about the llvm-commits mailing list