[PATCH] D46896: [llvm-objcopy] Add --strip-unneeded option

Paul Semel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 15 12:14:44 PDT 2018


paulsemel added inline comments.


================
Comment at: tools/llvm-objcopy/llvm-objcopy.cpp:159
   bool StripDWO = false;
+  bool StripUnneeded;
   bool ExtractDWO = false;
----------------
alexshap wrote:
> it's not a global - thus it won't be initialized by zero by default, might contain garbage. Am i missing smth ?
Well.. just missed the initialization :/


Repository:
  rL LLVM

https://reviews.llvm.org/D46896





More information about the llvm-commits mailing list