[PATCH] D16864: ELF: Make Out<ELFT> initialization less error-prone.

Rafael Ávila de Espíndola via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 4 14:57:32 PST 2016


rafael added a subscriber: rafael.

================
Comment at: ELF/Writer.cpp:120
@@ +119,3 @@
+
+  std::unique_ptr<GnuHashTableSection<ELFT>> GnuHashTab;
+  std::unique_ptr<GotPltSection<ELFT>> GotPlt;
----------------
Why do these need to be std::uinque_ptr?


http://reviews.llvm.org/D16864





More information about the llvm-commits mailing list