[all-commits] [llvm/llvm-project] 40602b: [LLD][COFF] Gate second-dot section-name stripping...

Haohai Wen via All-commits all-commits at lists.llvm.org
Tue May 26 18:46:00 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 40602b6346cc3e2fda464f31d9e9473c55be94b3
      https://github.com/llvm/llvm-project/commit/40602b6346cc3e2fda464f31d9e9473c55be94b3
  Author: Haohai Wen <haohai.wen at intel.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M lld/COFF/Writer.cpp
    M lld/test/COFF/ctors_dtors_priority.s

  Log Message:
  -----------
  [LLD][COFF] Gate second-dot section-name stripping on MinGW (#199625)

The comment in getOutputSectionName has always called the second-dot
stripping "for MinGW" (e.g. .ctors.NNNN), but the code applied it on
every target. This hiddes a split-dwarf bug #199616.

Take an isMinGW gate and skip the stripping when it is false.



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