[PATCH] D27991: Optimize objdump -objc-meta-data

Saleem Abdulrasool via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 2 14:21:11 PST 2017


compnerd added a comment.

I dont understand the changes to the assertion, could you please explain that?



================
Comment at: tools/llvm-objdump/MachODump.cpp:1796
   uint32_t adrp_inst;
-  BindTable *bindtable;
+  SymbolAddressMap *bindtable;
   uint32_t depth;
----------------
Please use a `std::unique_ptr` to avoid the leak.


https://reviews.llvm.org/D27991





More information about the llvm-commits mailing list