[PATCH] D39460: [ELF] NFC: Remove unnecessary function call

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 31 10:29:15 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL317014: [ELF] Remove unnecessary function call. NFC. (authored by jhenderson).

Changed prior to commit:
  https://reviews.llvm.org/D39460?vs=121007&id=121012#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D39460

Files:
  lld/trunk/ELF/Writer.cpp


Index: lld/trunk/ELF/Writer.cpp
===================================================================
--- lld/trunk/ELF/Writer.cpp
+++ lld/trunk/ELF/Writer.cpp
@@ -1363,7 +1363,7 @@
     Sec->finalize<ELFT>();
 
   // createThunks may have added local symbols to the static symbol table
-  applySynthetic({InX::SymTab, InX::ShStrTab, InX::StrTab},
+  applySynthetic({InX::SymTab},
                  [](SyntheticSection *SS) { SS->postThunkContents(); });
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39460.121012.patch
Type: text/x-patch
Size: 458 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171031/702a9444/attachment.bin>


More information about the llvm-commits mailing list