[PATCH] D60324: [llvm-objcopy] Add switch to allow removing referenced sections

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 17 02:55:46 PDT 2019


MaskRay added inline comments.


================
Comment at: tools/llvm-objcopy/ELF/Object.cpp:432
     SectionIndexTable = nullptr;
   if (ToRemove(SymbolNames))
+    if (AllowBrokenDependencies)
----------------
There is a `-Wdangling-else` warning.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60324/new/

https://reviews.llvm.org/D60324





More information about the llvm-commits mailing list