[PATCH] D60555: [llvm-objcopy] Fill .symtab_shndx section correctly

ben via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 16 10:28:17 PDT 2019


bd1976llvm added inline comments.


================
Comment at: llvm/trunk/tools/llvm-objcopy/ELF/Object.cpp:492
+  // indexes later in fillShdnxTable.
+  if (SectionIndexTable)  
+    SectionIndexTable->reserve(Symbols.size());
----------------
Let's stick to SectionIndexTable =! nullptr given line 501


Repository:
  rL LLVM

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

https://reviews.llvm.org/D60555





More information about the llvm-commits mailing list