[PATCH] D40523: [llvm-objcopy] Add --only-keep-debug

Jake Ehrlich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 28 19:03:08 PST 2017


jakehehrlich added inline comments.


================
Comment at: tools/llvm-objcopy/Object.cpp:690
+  if (SymbolTable != nullptr && ToRemove(*SymbolTable))
+    SymbolTable = nullptr;
+  if (ToRemove(*SectionNames)) {
----------------
jhenderson wrote:
> Test for this case?
Again, I can't make an allocated symbol table.


Repository:
  rL LLVM

https://reviews.llvm.org/D40523





More information about the llvm-commits mailing list