[all-commits] [llvm/llvm-project] 9cc9ef: [lld][COFF] Remove duplicate strtab entries (#141197)

Haohai Wen via All-commits all-commits at lists.llvm.org
Fri Jun 20 22:44:31 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9cc9efc483339ece1d52923569bb755db42b69f3
      https://github.com/llvm/llvm-project/commit/9cc9efc483339ece1d52923569bb755db42b69f3
  Author: Haohai Wen <haohai.wen at intel.com>
  Date:   2025-06-21 (Sat, 21 Jun 2025)

  Changed paths:
    M lld/COFF/Writer.cpp
    A lld/test/COFF/strtab.s
    M llvm/include/llvm/MC/StringTableBuilder.h
    M llvm/lib/MC/StringTableBuilder.cpp

  Log Message:
  -----------
  [lld][COFF] Remove duplicate strtab entries (#141197)

String table size is too big for large binary when symbol table is
enabled. Some strings in strtab is same so it can be reused.

This patch revives 9ffeaaa authored by mstorsjo with the prioritized
string table builder to fix debug section name issue (see 4d2eda2
for more details).

---------

Co-authored-by: Wen Haohai <whh108 at live.com>
Co-authored-by: James Henderson <James.Henderson at sony.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list