Index: lld/trunk/ELF/Writer.cpp =================================================================== --- lld/trunk/ELF/Writer.cpp +++ lld/trunk/ELF/Writer.cpp @@ -1363,7 +1363,7 @@ Sec->finalize(); // 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(); }); }