[PATCH] D52126: Discard uncompressed buffer after creating .gdb_index contents.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 14 15:47:58 PDT 2018


MaskRay added inline comments.


================
Comment at: lld/ELF/SyntheticSections.cpp:2516
+    S->Live = false;
+    S->DecompressBuf = nullptr;
+  }
----------------
I don't know if for `std::unique_ptr`, `reset()` is more conventional


https://reviews.llvm.org/D52126





More information about the llvm-commits mailing list